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

State Not Found #9

Open
alejodaraio opened this issue Jul 31, 2018 · 1 comment
Open

State Not Found #9

alejodaraio opened this issue Jul 31, 2018 · 1 comment

Comments

@alejodaraio
Copy link

alejodaraio commented Jul 31, 2018

When you run the command

npm run dev

In the frontend the console throw:

loadable-components state not found. You have a problem server-side. Please verify that you have called loadableState.getScriptTag() server-side.

Looks like the server render can't create the initial state.

@alejodaraio alejodaraio changed the title State not Found State Not Found Jul 31, 2018
@MacKentoch
Copy link
Owner

Hi,

I need to fix (if it is possible) the SSR + SPA for same application with loadable component.

Right now if you plan SSR app nothing to do.

But if you want SPA (it means hot reload too!) you have to:

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

2 participants