Open pei-wang opened 2 years ago
caused by https://github.com/cssinjs/jss/pull/1609/. But I haven't seen any thing wrong in that PR. I need to dive into to find more. cc: @enisdenjo
we've had a similar issue were dynamic rules would be removed after re-rendering React components.
We have the issue 10.9.1
but not in 10.9.0
Suspect it's related to the change in: https://github.com/cssinjs/jss/pull/1604
Expected behavior: work same as 10.9.1-alpha.0
Describe the bug:
when my component get re-rendered several times and it depends on another component which use dynamic function. then the dynamic css class of the dependent component is missing. From what I observer: there are several prerequisites to trigger the issue.
Reproduction:
https://codesandbox.io/s/stupefied-minsky-lw7wxs
Versions (please complete the following information):
Managing expectations:
Maintainers will not be fixing the problem you have unless they have it too, if you want it to get fixed:
You can also do the first step only and wait for someone else to work on a fix. Anything is much better than nothing.