Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 15, 2026

Bumps react_on_rails from 16.1.1 to 16.2.0.

Changelog

Sourced from react_on_rails's changelog.

[16.2.0] - 2026-01-14

Breaking Changes

  • config.immediate_hydration configuration removed: The config.immediate_hydration setting in config/initializers/react_on_rails.rb has been removed. Immediate hydration is now automatically enabled for React on Rails Pro users and automatically disabled for non-Pro users.

    Migration steps:

    • Remove any config.immediate_hydration = true or config.immediate_hydration = false lines from your config/initializers/react_on_rails.rb file
    • Pro users: No action needed - immediate hydration is now enabled automatically for optimal performance
    • Non-Pro users: No action needed - standard hydration behavior continues to work as before
    • Component-level overrides: You can still override behavior per-component using react_component("MyComponent", immediate_hydration: false) or redux_store("MyStore", immediate_hydration: true)
    • If a non-Pro user explicitly sets immediate_hydration: true on a component or store, a warning will be logged and it will be enforced to fall back to standard hydration (the value will be overridden to false)

    PR 1997 by AbanoubGhadban.

  • React on Rails Core Package: Several Pro-only methods have been removed from the core package and are now exclusively available in the react-on-rails-pro package. If you're using any of the following methods, you'll need to migrate to React on Rails Pro:

    • getOrWaitForComponent()
    • getOrWaitForStore()
    • getOrWaitForStoreGenerator()
    • reactOnRailsStoreLoaded()
    • streamServerRenderedReactComponent()
    • serverRenderRSCReactComponent()

Migration Guide:

To migrate to React on Rails Pro:

  1. Install the Pro package:

    yarn add react-on-rails-pro
    # or
    npm install react-on-rails-pro
  2. Update your imports from react-on-rails to react-on-rails-pro:

    // Before
    import ReactOnRails from 'react-on-rails';
    // After
    import ReactOnRails from 'react-on-rails-pro';

  3. For server-side rendering, update your import paths:

    // Before
    import ReactOnRails from 'react-on-rails';

... (truncated)

Commits
  • 43323ec Bump version to 16.2.0
  • 76877aa Fix lefthook glob patterns to match root directory files (#2304)
  • 001f3c1 Fix component not registered error on core react-on-rails package (#2295)
  • 03c031a Update Conductor config to use bin/mise-exec wrapper (#2302)
  • 8a34cf6 Add mise-exec wrapper for Conductor compatibility (#2301)
  • 548715f Update CHANGELOG for 16.2.0.rc.1 release (#2293)
  • a59b3cf Bump version to 16.2.0.rc.1
  • d5fd82b Fix JSON parse race condition in immediate_hydration (#2290)
  • 2cd26d3 Fix webpack-cli compatibility with webpack-dev-server v5 (#2291)
  • 619cb78 docs: fix incorrect license configuration option in Pro docs (#2276)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react_on_rails](https://github.com/shakacode/react_on_rails) from 16.1.1 to 16.2.0.
- [Changelog](https://github.com/shakacode/react_on_rails/blob/master/CHANGELOG.md)
- [Commits](shakacode/react_on_rails@16.1.1...v16.2.0)

---
updated-dependencies:
- dependency-name: react_on_rails
  dependency-version: 16.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Jan 15, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 15, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 19, 2026

Superseded by #39.

@dependabot dependabot bot closed this Jan 19, 2026
@dependabot dependabot bot deleted the dependabot/bundler/react_on_rails-16.2.0 branch January 19, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants