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
{{ message }}
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.
@tiberiuichim I was wondering if it would be possible to lazy load volto-slate and slate itself?
We are checking out custom bundles regularly and volto-slate and slate are roughly 200k that might make a difference on loading times. Here is the lighthouse treemap report from one of our projects.
I'd just like to understand what's needed to accomplish lazy loading and how much effort it would cost. cc @sneridagh
The text was updated successfully, but these errors were encountered:
we might lazy load some stuff in volto-slate, but not slate.js, unless we store html in the slate blocks.
draft-js is even worse, though, it's about double the total payload of volto-slate + dependencies, as far as I can recall (if you count all the draft/redraft/immutable libs). So short term, getting rid of draft would be even better.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
@tiberiuichim I was wondering if it would be possible to lazy load volto-slate and slate itself?
We are checking out custom bundles regularly and volto-slate and slate are roughly 200k that might make a difference on loading times. Here is the lighthouse treemap report from one of our projects.
I'd just like to understand what's needed to accomplish lazy loading and how much effort it would cost. cc @sneridagh
The text was updated successfully, but these errors were encountered: