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

Context API is not supported?

matthew-dean opened this issue · comments

I'm getting React.createContext is not a function. It would be nice to have an explicit list of what's not supported of the React API, instead of what is supported. Is there a nerv library to polyfill?

Can I use something like this to polyfill the feature? https://github.com/valotas/preact-context

commented

I agree with your call for an explicit list of what’s not supported, it’s the first thing I look for with lightweight alternative libs like this.