NervJS / nerv

A blazing fast React alternative, compatible with IE8 and React 16.

Home Page:https://nerv.aotu.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

useDebugValue is not exported from 'react'

mydearxym opened this issue · comments

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'