Open lipp opened 6 years ago
Nerv has the isReactComponent
in component instance.
A simple reproduce would be much helpful. Thank you.
Still have the same issue here with nextjs, an example repository would be: https://github.com/gpolyn/nextjs-google-map-react/tree/nerv
Me too, neither nextjs (as provided by @etiennemtl) nor react-lifecycle-comp (https://github.com/reactjs/react-lifecycles-compat/issues/28), used by popular libraries like rechart, work :(
React flags components with
.isReactComponent
.https://github.com/facebook/react/search?utf8=%E2%9C%93&q=isreactcomponent&type=
Next.js (and maybe others) rely on that: https://github.com/zeit/next.js/blob/a32b22bb2d07c2959d65e11448098988fb1a721a/server/render.js#L102
Thus nerv can't be used with next.js right now: https://github.com/zeit/next.js/issues/3868