React_on_rails: Deprecation Warnings

Created on 27 Oct 2017  路  3Comments  路  Source: shakacode/react_on_rails

Some new stuff has come out and we've bumped our internal project's deps to the point where Yarn is complaining about version ranges defined by RoR:

warning "[email protected]" has unmet peer dependency "babel-runtime@>= 6".
warning "[email protected]" has unmet peer dependency "js-yaml@>= 3.0.0".

This all seems to work fine so we can just loosen the dependency requirements to allow these version ranges.

Also, this happens on every page where RoR is used when using React v16:

Warning: render(): Calling ReactDOM.render() to hydrate server-rendered markup will stop working in React v17. Replace the ReactDOM.render() call with ReactDOM.hydrate() if you want React to attach to the server HTML.
enhancement

Most helpful comment

So I see this issue is closed, but after updating to the most recent release I'm still getting similar deprecation warnings when running yarn commands:

warning "@rails/webpacker > [email protected]" has unmet peer dependency "caniuse-lite@^1.0.30000697".
warning " > [email protected]" has unmet peer dependency "babel-runtime@>= 6".
warning " > [email protected]" has unmet peer dependency "js-yaml@>= 3.0.0".
warning " > [email protected]" has unmet peer dependency "webpack@^2.2.0 || ^3.0.0".
warning "webpack-dev-server > [email protected]" has unmet peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0"

All 3 comments

@Judahmeek Maybe you can fix this and let's ship 10.0.1? or 10.1.0?

So I see this issue is closed, but after updating to the most recent release I'm still getting similar deprecation warnings when running yarn commands:

warning "@rails/webpacker > [email protected]" has unmet peer dependency "caniuse-lite@^1.0.30000697".
warning " > [email protected]" has unmet peer dependency "babel-runtime@>= 6".
warning " > [email protected]" has unmet peer dependency "js-yaml@>= 3.0.0".
warning " > [email protected]" has unmet peer dependency "webpack@^2.2.0 || ^3.0.0".
warning "webpack-dev-server > [email protected]" has unmet peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0"

The warning is still here

Was this page helpful?
0 / 5 - 0 ratings