Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1042·radium

TypeError: Cannot read property 'styleKeeperContext' of undefined

Author: HecCodesCreated Jan 29, 2020Updated Jul 31, 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

javascript
import Radium from 'radium'

const style = {
      ':hover':{
        backgroundColor: 'lightgreen',
        color:'black'
      }
}
export default Radium(App);

Source: FormidableLabs/radium

View original on GitHubView discussion on GitHub