Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI] use service worker and code splitting #41

Open
2 tasks
jeroenptrs opened this issue Jul 25, 2020 · 0 comments
Open
2 tasks

[UI] use service worker and code splitting #41

jeroenptrs opened this issue Jul 25, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Milestone

Comments

@jeroenptrs
Copy link
Collaborator

prettier and code editors shouldn't be loaded in immediately, and neither should the same resource be loaded in every time.
Thus the solution is two fold:

  • add a caching strategy with the CRA added service worker (also provide a pop-up to update!)
  • use dynamic imports on hungry dependencies like prettier, react code editor, react selectable
@jeroenptrs jeroenptrs added enhancement New feature or request good first issue Good for newcomers labels Jul 25, 2020
@jeroenptrs jeroenptrs added this to the 1.1.0 milestone Jul 25, 2020
@jeroenptrs jeroenptrs added this to To do in 1.1.0 Jul 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
1.1.0
  
To do
Development

No branches or pull requests

1 participant