NervJS / nerv

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

Context API is not supported? #105

Open matthew-dean opened 5 years ago

matthew-dean commented 5 years ago

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?

matthew-dean commented 5 years ago

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

dpikt commented 5 years ago

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.