question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tracking issue for removing `recompose` dependency

See original GitHub issue

Updating 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:open
  • Created 4 years ago
  • Reactions:84
  • Comments:35 (8 by maintainers)

github_iconTop GitHub Comments

21reactions
plouccommented, Nov 6, 2020

Now removed from @nivo/pie.

19reactions
GregdTdcommented, Jan 5, 2021

Any news on @nivo/bar ? I’m still having the warning in "@nivo/bar": "^0.66.0"

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found