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
Maybe it's worth looking into optimizing "react-responsive" package built-in into the library.
Why
react-responsive takes almost a half of the library's bundle size. It's always good to ship a smaller package, that evaluates and runs faster.
How
If react-responsive allows es/src imports, those can be included and processed via library's webpack. This can improve the bundle size via tree shaking, for example, as Atomic layout doesn't utilize all features of react-responsive.
Alternatively, can do a PoC to include a custom responsive utility, covering only the required aspects.
The text was updated successfully, but these errors were encountered:
What
Maybe it's worth looking into optimizing "react-responsive" package built-in into the library.
Why
react-responsive
takes almost a half of the library's bundle size. It's always good to ship a smaller package, that evaluates and runs faster.How
If
react-responsive
allows es/src imports, those can be included and processed via library's webpack. This can improve the bundle size via tree shaking, for example, as Atomic layout doesn't utilize all features ofreact-responsive
.Alternatively, can do a PoC to include a custom responsive utility, covering only the required aspects.
The text was updated successfully, but these errors were encountered: