leebenson / reactql

Universal React+GraphQL starter kit: React 16, Apollo 2, MobX, Emotion, Webpack 4, GraphQL Code Generator, React Router 4, PostCSS, SSR
https://reactql.org
MIT License
1.82k stars 173 forks source link

[v3.2.0] How to disable SSR? #168

Closed dickyindra closed 5 years ago

dickyindra commented 5 years ago

I have a project build with ReactQL v3.2.0, i got problem production mode in sometime shows error "Maximum call stack size exceeded" with kill my running project.

I will disable ssr to be easily tracked error.

leebenson commented 5 years ago

I’d recommend using the 4.x branch of ReactQL since the tooling is up to date. The stack in v3 is now quite old and unsupported.

In v4, you can disable SSR by running npm run dev:static

dickyindra commented 5 years ago

I want migration my project to ReactQL v4, but i don't know step to migrate ReactQL from v3 to v4.

Do you make documentation for migrating ReactQL v3 to v4?

leebenson commented 5 years ago

The easiest thing to do is start a new project with the new kit, then copy over your own src components into the new project.

There’s no direct upgrade path since ReactQL is intended to be a starter kit and not an upgradable framework.