Tracking issue for removing `recompose` dependency
See original GitHub issueUpdating React now leads to a deprecation warning in the console:
react.development.js:315 Warning: React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.
printWarning @ react.development.js:315
warn @ react.development.js:278
createFactoryWithValidation @ react.development.js:1827
(anonymous) @ shouldUpdate.js:18
pure @ pure.js:22
(anonymous) @ compose.js:13
enhance @ nivo-voronoi.esm.js:82
./node_modules/@nivo/voronoi/dist/nivo-voronoi.esm.js @ nivo-voronoi.esm.js:170
This is due to the recompose
package which is still used for some of the nivo packages, we have to migrate the following packages to React hooks (providing the same features) to get rid of it:
- Core
- Pie
- Voronoi (#1364)
- Waffle
- Bullet (#1252)
- Bar (#1619)
- Circle Packing (#1360)
- Sunburst (#1264)
- Calendar
- Legends (Listed in package.json, but not used)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:84
- Comments:35 (8 by maintainers)
Top Results From Across the Web
react recompose unable to resolve dependency tree Code ...
Failed at the node-sass@4.14.1 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above....
Read more >Tips to replace Recompose's HOCs with React Hooks for ...
Recently I worked on refactoring its codebase, replacing Recompose with React Hooks. I would like to share my tips I found while working...
Read more >New features in Android Studio Preview - Android Developers
This enables you to discover and update dependency issues during development ... To view recomposition tracing, open the Android Studio Profiler and select ......
Read more >NEWS
bug fix, MULTIPOINT and point were getting “order_” ... remove dependency on sf, spbabel can decompose sf but cannot recompose. ... added track...
Read more >react-recompose - npm
Make sure all the necessary dependencies are declared in package.json so anyone can run npm install && npm start and reproduce your issue....
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 FreeTop 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
Top GitHub Comments
Now removed from
@nivo/pie
.Any news on
@nivo/bar
? I’m still having the warning in"@nivo/bar": "^0.66.0"