NervJS / nerv

A blazing fast React alternative, compatible with IE8 and React 16.
https://nerv.aotu.io
MIT License
5.42k stars 267 forks source link

useDebugValue is not exported from 'react' #127

Open mydearxym opened 5 years ago

mydearxym commented 5 years ago

hi there ~

i am try to use nervjs for my next.js app, but the build process is failed:

./node_modules/mobx-react-lite/dist/index.module.js
Attempted import error: 'useDebugValue' is not exported from 'react'.

the useDebugValue function is used in mobx-react-lite

and also:

 [ warn ]  ./node_modules/react-svg/es/react-svg.js
Attempted import error: 'nerv-server' does not contain a default export (imported as 'ReactDOMServer').

ReactDOMServer seems not exported from 'nerv-server'