Bundled/exported components render slowly locally but normally in production. Ideas why? #4221
Replies: 1 comment
-
Closing as the issue was actually with base64 encoded fonts. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a component-library where my
NumberInput
component renders fully in ~11ms. When I build the library and use that exported component in an app locally it takes upwards of ~680ms to load. When that app is built for production the component again loads in less than ~50ms.Anyone have thoughts on why this is happening? Clicking on UI that results in this component rendering locks up the app and mouse until it renders. Could this be an issue with my build tool (Rollup)?
Beta Was this translation helpful? Give feedback.
All reactions