Backport switch to `prop-types` package to the v1 branch to add compat with react 16
See original GitHub issueAfter updating to react 16, I encountered the following error:
TypeError: Cannot read property 'shape' of undefined
./node_modules/react-css-themr/lib/utils/themr-shape.js
node_modules/react-css-themr/lib/utils/themr-shape.js:7
Would be great to add a 1.8 release with the switch to the prop-types
package to maintain compatibility for people like us stuck on toolbox v1 for now.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:5
Top Results From Across the Web
Update to be react 16 compitable · Issue #83 - GitHub
Backport switch to prop-types package to the v1 branch to add compat with react 16 #75. Open. TASK: Update react and react-dom to...
Read more >Typechecking With PropTypes - React
To run typechecking on the props for a component, you can assign the special propTypes property: import PropTypes from 'prop-types'; class Greeting extends...
Read more >material-ui/core/CHANGELOG.md - UNPKG
We plan to add a deprecation for any breaking change in v5 that allows it. ... The best support for React 17 will...
Read more >Releases - styled-components
Fix dynamic creation React warning for React v18, backported to v5 by ... Add "engines" to package.json (currently set to Node 10, the...
Read more >prop-types | Yarn - Package Manager
Runtime type checking for React props and similar objects. You can use prop-types to document the intended types of properties passed to components....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
published a built version: https://github.com/bionikspoon/react-css-themr/tree/react_16_build
This fork is working it’s way into production on my team. Conversation here: https://github.com/react-toolbox/react-toolbox/issues/1703
Created a branch with this work. https://github.com/javivelasco/react-css-themr/compare/1.7.2...bionikspoon:react_16
Tests are passing. I don’t know your release process.