Skip to content

How to use with code splitting / loadable-components #118

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

Open
arasmussen opened this issue Dec 16, 2020 · 0 comments
Open

How to use with code splitting / loadable-components #118

arasmussen opened this issue Dec 16, 2020 · 0 comments

Comments

@arasmussen
Copy link

We've got an awesome setup with webpack, react, redux, babel, react-router, server-side rendering, and redux-async-connect. We're looking to introduce code splitting by route via loadable-components.

Everything is working well, except now on page transition, the redux-async-connect functionality no longer seems to work. It'll load the page immediately without waiting for the async fetches, and our page breaks because it's expecting certain data to be there.

Any ideas on how to get these libs to play nicely with each other? I did a ton of searching and couldn't find much documentation at all.

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