🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-on-rails

Package Overview
Dependencies
Maintainers
4
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-on-rails - npm Package Versions

2345
21

14.2.1

Diff
shakacode-justin
published 14.2.1 •
shakacode-justin
published 15.0.0-alpha.2 •

Changelog

Source

[15.0.0-alpha.2] - 2025-03-07

See Release Notes for full details.

Added

  • React Server Components Support (Pro Feature) PR 1644 by AbanoubGhadban.
  • Improved component and store hydration performance PR 1656 by AbanoubGhadban.

Breaking Changes

  • ReactOnRails.reactOnRailsPageLoaded is now an async function
  • force_load configuration now defaults to true
  • defer_generated_component_packs configuration now defaults to false
shakacode-justin
published 14.2.0 •

Changelog

Source

[14.2.0] - 2025-03-03

Added

  • Add export option 'react-on-rails/client' to avoid shipping server-rendering code to browsers (~5KB improvement) PR 1697 by Romex91.

Fixed

  • Fix obscure errors by introducing FULL_TEXT_ERRORS PR 1695 by Romex91.
  • Disable esModuleInterop to increase interoperability PR 1699 by alexeyr-ci.
  • Resolved 14.1.1 incompatibility with eslint & made sure that spec/dummy is linted by eslint. PR 1693 by judahmeek.

Changed

shakacode-justin
published 14.1.1 •

Changelog

Source

[14.1.1] - 2025-01-15

Fixed

  • Separated streamServerRenderedReactComponent from the ReactOnRails object in order to stop users from getting errors during Webpack compilation about needing the stream-browserify package. PR 1680 by judahmeek.
  • Removed obsolete js-yaml peer dependency. PR 1678 by alexeyr-ci.
shakacode-justin
published 14.1.0 •

Changelog

Source

[14.1.0] - 2025-01-06

Fixed

  • Incorrect type and confusing name for ReactOnRails.registerStore, use registerStoreGenerators instead. PR 1651 by alexeyr-ci.
  • Changed the ReactOnRails' version checker to use ReactOnRails.configuration.node_modules_location to determine the location of the package.json that the react-on-rails dependency is expected to be set by.
  • Also, all errors that would be raised by the version checking have been converted to Rails.Logger warnings to avoid any breaking changes. PR 1657 by judahmeek.
  • Enable use as a git: dependency. PR 1664 by alexeyr-ci.

Added

  • Added streaming server rendering support:
    • PR #1633 by AbanoubGhadban.
      • New stream_react_component helper for adding streamed components to views
      • New streamServerRenderedReactComponent function in the react-on-rails package that uses React 18's renderToPipeableStream API
      • Enables progressive page loading and improved performance for server-rendered React components
    • Added support for replaying console logs that occur during server rendering of streamed React components. This enables debugging of server-side rendering issues by capturing and displaying console output on the client and on the server output. PR #1647 by AbanoubGhadban.
    • Added support for handling errors happening during server rendering of streamed React components. It handles errors that happen during the initial render and errors that happen inside suspense boundaries. PR #1648 by AbanoubGhadban.
    • Added support for passing options to YAML.safe_load when loading locale files with config.i18n_yml_safe_load_options. PR #1668 by dzirtusss.

Changed

  • Console replay script generation now awaits the render request promise before generating, allowing it to capture console logs from asynchronous operations. This requires using a version of the Node renderer that supports replaying async console logs. PR #1649 by AbanoubGhadban.
shakacode-justin
published 14.1.0-rc.0 •
shakacode-justin
published 15.0.0-alpha.1 •
shakacode-justin
published 15.0.0-alpha.0 •
shakacode-justin
published 14.0.5 •

Changelog

Source

[14.0.5] - 2024-08-20

Fixed

shakacode-justin
published 14.0.4 •

Changelog

Source

[14.0.4] - 2024-07-02

Improved

  • Improved dependency management by integrating package_json. PR 1639 by vaukalak.

Changed

  • Update outdated GitHub Actions to use Node.js 20.0 versions instead PR 1623 by adriangohjw.
2345
21