This should be a new major version number since it requires a new version of react - I believe it just needs to be >=16.3 at this point, because it requires React.createContext().
(I don't have any experience trying to maintain compatibility with both types of context at the same time, unfortunately)
This should be a new major version number since it requires a new version of react - I believe it just needs to be >=16.3 at this point, because it requires
React.createContext()
.(I don't have any experience trying to maintain compatibility with both types of context at the same time, unfortunately)
See the reasoning behind these changes here
Also please note that there are two lint errors on this PR, but I don't know anything about JSDoc to know how to fix them.