react-redux-graphql-apollo-bootstrap-webpack-starter icon indicating copy to clipboard operation
react-redux-graphql-apollo-bootstrap-webpack-starter copied to clipboard

State Not Found

Open alejodaraio opened this issue 6 years ago • 1 comments

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 avatar Jul 31 '18 20:07 alejodaraio

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:

MacKentoch avatar Aug 01 '18 04:08 MacKentoch