You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Current behavior for useId
* fix(styled): Ensure no hydration mismatch with React.useId
* yarn changeset
* Update snapshots
* Dirty fix for enzyme matchers
* Fragment -> Noop
* Apply same pattern to class-names and emotion-element
* tweak fragment unwrapping in `@emotion/jest`
* Fixed enzyme-related serialization tests
* Fix more cases and add new tests
* add tests for avoiding id mismatches when using css prop and ClassNames component
* Fix flow errors
* Reset html before each rehydration test
* tweak changesets
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
Adjusted the serialization logic to unwrap rendered elements from Fragments that had to be added to fix hydration mismatches caused by `React.useId` usage (the upcoming API of the React 18).
"Could not get unrendered element reliably from the Enzyme's ShallowWrapper. This is a bug in Emotion - please open an issue with repro steps included:\n"+
0 commit comments