Byteclaw / visage

Visage design system
https://visage.design
MIT License
12 stars 3 forks source link

fix(visage): detect breakpoints in effect so app can be hydrated #636

Closed michalkvasnicak closed 4 years ago

michalkvasnicak commented 4 years ago

Reverts the behaviour of using effect to detect breakpoints with matchMedia otherwise SSR hydration is broken.