eldh/statext

TypeError: React.createContext is not a function

brianyang opened this issue · 3 comments

TypeError: React.createContext is not a function

Hey, you solved?

eldh commented

@matteom4rongiu Could you provide some more context on where you are getting this error? Make sure you are using React 16.3 or higher, since Statext requires the new context api to work.

Ok thanks, I solved updating React to 16.4.1:
I deleted modules, than i run "npm upgrade react@^16.4.1" and finally npm update.