Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

TypeError: Cannot read property 'styleKeeperContext' of undefined #1042

Open
HecCodes opened this issue Jan 29, 2020 · 4 comments
Open

TypeError: Cannot read property 'styleKeeperContext' of undefined #1042

HecCodes opened this issue Jan 29, 2020 · 4 comments

Comments

@HecCodes
Copy link

HecCodes commented Jan 29, 2020

I read that Radium used the old context API? Does that mean Radium doesn't work anymore? What is another alternative?
This is not the full script

import Radium from 'radium'

const style = {
      ':hover':{
        backgroundColor: 'lightgreen',
        color:'black'
      }
}
export default Radium(App);
@Priyanka24-dev
Copy link

install [email protected] and try again....

@sators
Copy link

sators commented Jul 30, 2020

This has resurfaced in [email protected].

@animeshk-me
Copy link

can you explain how to uninstall [email protected] and install [email protected]?

@sators
Copy link

sators commented Jul 31, 2020

I just changed my package.json entry for radium to be for version "0.25.2" and run npm install again... You could also try just running npm install [email protected]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants