Research benefits & LOE of moving common code to package #9589
Labels
P1 - important
Priority: High impact on UX
TAG: performance
User-facing performance
TODO: needs decisions
Design or specifications are necessary
Milestone
Observed behavior
Follow-up on this comment - overall, it may be worthwhile to consider moving some common (although not core) code out of our default front-end bundle.
The idea being that if we expose this code in a package, then when a plugin uses common code, it will be bundled with that plugin's bundle. Conversely, a plugin that does not use some common code will have it shaken out of their builds.
So - we should see a significant reduction in the size of the default frontend build which is loaded on every page along with a relatively small increase to each plugin's build size.
Thoughts on differentiating between "core" and "common"
@rtibbles said:
If you take this on and don't feel comfortable deciding on what to move and what not do, prepare and schedule a meeting with the likes of @marcellamaki @rtibbles and @nucleogenesis to walk through the core API spec and to decide on what should go where.
Acceptance Criteria
kolibri-common
The text was updated successfully, but these errors were encountered: