ex-navigation icon indicating copy to clipboard operation
ex-navigation copied to clipboard

`react-addons-shallow-compare` is deprecated

Open dantman opened this issue 8 years ago • 1 comments

@expo/ex-navigation depends on react-addons-shallow-compare.

The shallow compare docs state:

Note: shallowCompare is a legacy add-on. Use React.PureComponent instead.

react-addons-shallow-compare just requires react/lib/shallowCompare.js which does not exist in [email protected] which [email protected] depends on.

This dependency should probably be dropped and replaced with React.PureComponent or recompose.

dantman avatar Apr 06 '17 22:04 dantman

refer: https://github.com/expo/ex-navigation/pull/445

chirag04 avatar Apr 06 '17 22:04 chirag04