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

perf: Reduce initial bundle size / async bundle loading #1456

Merged
merged 12 commits into from
Aug 15, 2020

Conversation

tommoor
Copy link
Member

@tommoor tommoor commented Aug 14, 2020

image

This tackles all the low hanging fruit for reducing loading times and splitting the routes along logical boundaries. Eg loading a share link no longer downloads any JS related to settings management – makes sense huh? See the full report on RelativeCI

closes #913
closes #1452

@tommoor tommoor merged commit 14cb3a3 into develop Aug 15, 2020
@tommoor tommoor deleted the feat/react-lazy branch August 17, 2020 16:33
tommoor added a commit that referenced this pull request Aug 18, 2020
* feat: Move to React.lazy

* perf: Remove duplicate babel/runtime

* fix: Run yarn-deduplicate

* Further attempts to remove rich-markdown-editor from initial chunk

* perf: Lazy loading of authenticated routes

* perf: Move color picker to async loading
fix: Display placeholder when loading rich editor

* fix: Cache bust on auto reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update async loaded components to use Suspense Async load javascript per-route
1 participant