[react-jss] stylesheet doesn't updates if `!important` is set
See original GitHub issueExpected behavior:
Stylesheet updates and color toggles with !important
Describe the bug:
The stylesheet doesn’t update if !important
is set. It starts the update if remove !important
Codesandbox link: https://codesandbox.io/s/sleepy-curie-rkczo
Versions (please complete the following information):
- jss: 10.0
- Browser [e.g. chrome, safari]: firefox, chrome
- OS [e.g. Windows, macOS]: macOS
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:20 (10 by maintainers)
Top Results From Across the Web
JSS integration with React
Lazy evaluation - Style Sheets are created when a component mounts and ... Function values and rules are updated automatically with any data...
Read more >javascript - !important inline styles in react - Stack Overflow
watch out, I found out that setting a 'inline' style with react (as an object) with !important like you did there, will give...
Read more >Why We're Breaking Up with CSS-in-JS - DEV Community
Hi, I'm Sam — software engineer at Spot and the 2nd most active maintainer of Emotion, a widely-popular CSS-in-JS library for React.
Read more >cssinjs/Lobby - Gitter
I was hoping for a way to transpile JSS to a CSS file(s). I tried using the jss-loader for Webpack and another called...
Read more >Migrating to v5: getting started - Material UI - MUI
If you are using a React version below 17.0.0, update your packages to at least v4.11.2 for Material UI and v17.0.0 for React....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kof any update?
released https://github.com/cssinjs/jss/releases/tag/v10.9.1-alpha.2