Closed lttb closed 7 years ago
Tests should implement a mock if they need it.
Tests should implement a mock if they need it.
you are right, but the main point is ssr :)
mock it for ssr or don't use it when on the server
The main problem of this fix is async styles attaching, that may cause FUC (flash of unstyled content). So we can return to this later.
Problem with mount performance solved in #12
We have some overhead on
detach
andattach().link()
each mount, so when we have a lot of components that we need to mount at the same time (like https://github.com/A-gambit/CSS-IN-JS-Benchmarks), there some issues.This fix make significant performance improvement by bulk updating (more then 20x in example above).
TODO: