react-css-themr icon indicating copy to clipboard operation
react-css-themr copied to clipboard

Update react api usage to react 16 strict mode compatible

Open byronanderson opened this issue 6 years ago • 0 comments

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.

byronanderson avatar Apr 01 '19 18:04 byronanderson