Just wanted to clarify one interesting moment about peerDependencies.
npm now shows a warning that react >= 16.3 is required, but the library itself is still using react-broadcast for createContext API (so it's actually fully operational with react 16.0.0).
npm i react-contextual warnings:
warning " > react-contextual@3.6.1" has incorrect peer dependency "react@>= 16.3.0".
warning " > react-contextual@3.6.1" has incorrect peer dependency "react-dom@>= 16.3.0".
@lourenc oops, you're right. I made a next branch some days ago to test against 16.3.0-alpha and carried over some commits, must've merged them in. I released a patch version.
Hi, thanks for creating this lib!
Just wanted to clarify one interesting moment about
peerDependencies
.npm
now shows a warning thatreact >= 16.3
is required, but the library itself is still usingreact-broadcast
forcreateContext
API (so it's actually fully operational with react 16.0.0).npm i react-contextual
warnings:The current
package.json
:I assume
react
andreact-dom
version in peerDependencies should be lowered to16.0.0
.Thanks!