Open barrymichaeldoyle opened 5 years ago
Also found an issue with that dependency range.
UNSAFE_componentWillReceiveProps
was introduced in 16.3 version, so if I use 16.2, that method won't be called and selectedItems
won't be updated. I would say peer dependencies or UNSAFE_componentWillReceiveProps should be changed
@barrymichaeldoyle it is exactly for this reason: deprecation of old lifecycle hooks.
In practice tough, i admit i would need some help on how to manage versions and old/new lifecycle hooks,since poeple seem to complain current solution ie :
I'm open to better ideas.
Why doesn't this package work with React 16.4?