Closed adyz closed 6 years ago
Hey Kent,
Awesome workshop!
I am building a similar component using React.createContext(), but I want use the component in an older project that uses react 16.0.0 and errors on createContext because this was introduced later.
React.createContext()
createContext
Is there any recommended way to polyfill this?
Thank you!
I recommend https://npmjs.com/package/create-react-context :+1:
I'm glad you like the workshop!
Hey Kent,
Awesome workshop!
I am building a similar component using
React.createContext()
, but I want use the component in an older project that uses react 16.0.0 and errors oncreateContext
because this was introduced later.Is there any recommended way to polyfill this?
Thank you!