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.

react-addons-update dependency

See original GitHub issue

Hello,

I’m migrating a fairly large codebase from React to Preact which has a lot of 3rd party React helper/component libraries. One of them is react-toastr. This have a dependency on react-addons-update which seems to cause an issue on my end even when I’m using preact-compat.

I added the alias configuration to my Webpack build process and I seem to get this error.

ERROR in ./~/react-addons-update/index.js
Module not found: Error: Cannot resolve module 'preact-compat/lib/update' in /xxx/xxx/xxx/project/node_modules/react-addons-update
 @ ./~/react-addons-update/index.js 3:17-44

Any thoughts on getting this resolved?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
slaskiscommented, Mar 30, 2017

This is now added in preact-compat with https://github.com/developit/preact-compat/pull/339 🎈

0reactions
developitcommented, Apr 6, 2017

All good!

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-addons-update - npm
Start using react-addons-update in your project by running `npm i react-addons-update`. There are 418 other projects in the npm registry ...
Read more >
react-addons-update | Yarn - Package Manager
Fast, reliable, and secure dependency management. ... react-addons-update ... Note: >This is a legacy React addon, and is no longer maintained.
Read more >
react-addons-update - npm Package Health Analysis - Snyk
All security vulnerabilities belong to production dependencies of direct and indirect packages. ... You can connect your project's repository to Snyk to stay...
Read more >
Error: Cannot resolve module 'react-addons-update' · Issue #695
Just released a new version including the dependency as a peerDependency . Please update to 1.1.1 ! 2
Read more >
React 16 - Mobify DevCenter
Update your progressive-web-sdk to the most recent version. You can find the most recent version available here. Obsolete Dependencies. Delete react-addons- ...
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