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

Boilerplate with react-loadable v5 #103

Open
amangeot opened this issue Dec 5, 2017 · 0 comments
Open

Boilerplate with react-loadable v5 #103

amangeot opened this issue Dec 5, 2017 · 0 comments

Comments

@amangeot
Copy link

amangeot commented Dec 5, 2017

Hello,
first of all thank you for the boilerplate, it's an awesome start for codesplitting with SSR.

I was wondering if you could provide an update of the boilerplate for react-loadable v5?

The v5 provides utils to:

  • preloadAll() on server: to prefetch all components on server
  • preloadReady() on client: to wait for bundles that were used to on server before rendering on client
    with webpack plugins to abstract / hide the logic for async imports.

I believe it would make the boilerplate a bit easier to start with.

I would have liked to bring a PR but I couldn't set it up to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant