react-addons-shallow-compare is unsupported now
See original GitHub issueAccording to the latest release of React v15.5.0, they said that React Addons is discontinued support, including react-addons-shallow-compare
. It seems that react-addons-shallow-compare
is a significant dependency of react-dates
, is there any plan to replace it with React.PureComponent
? (as mentioned in the above link).
They also said that “it continue to work” in React v15.5.0 but I still want to know if there is any issue with react-dates
😃
Thanks,
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
react-addons-shallow-compare is unsupported now · Issue #438
5.0, they said that React Addons is discontinued support, including react-addons-shallow-compare . It seems that react-addons-shallow-compare is ...
Read more >Cannot import react-addons-shallow-compare, Typescript
I have installed react-addons-shallow-compare version 15.3.0 and I found it in the node_modules. It looks like this:
Read more >react-addons-shallow-compare | Yarn - Package Manager
shallowCompare returns true if the shallow comparison for props or state fails and therefore the component should update. shallowCompare returns false if the ......
Read more >react-addons-shallow-compare - npm
Start using react-addons-shallow-compare in your project by running `npm i react-addons-shallow-compare`. There are 737 other projects in ...
Read more >React v0.14 Release Candidate - React Blog - React 中文文档
We're happy to announce our first release candidate for React 0.14! We gave you a sneak peek in July at the upcoming changes...
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
The only issue would be if React emits a deprecation warning; which it won’t in this case since it’s a separate package.
At such time as we drop support for React < 15.3, we’d certainly be able to use
PureComponent
; but until then, we’ll just stick with the same version of the shallow compare package. There shouldn’t be any issue.Update for those following this thread; I’ve replaced the dependency on
react-addons-shallow-compare
withenzyme-shallow-equal
, to avoid the fbjs dependency, in bf7e334.