Skip to content

Latest commit

 

History

History
62 lines (58 loc) · 8.8 KB

NEWS.md

File metadata and controls

62 lines (58 loc) · 8.8 KB

NEWS

A history of the news. A few bullets at the top will also show on the README.md.

  • October 14, 2020: RUBY ROGUES RR 474: React on Rails V12 – Don’t Shave That Yak! with Justin Gordon.

  • October 1, 2020: See the spec/dummy example repo for a simple configuration of webpack via the rails/webpacker gem that supports SSR.

  • August 2, 2020: See the example repo of React on Rails Tutorial With SSR, HMR fast refresh, and TypeScript for a new way to setup the creation of your SSR bundle with rails/webpacker.

  • July 8, 2020: Release v12.

    1. React Hooks Support for top level components
    2. Typescript bindings
    3. rails/webpacker "just works" with React on Rails by default.
    4. i18n support for generating a JSON file rather than a JS file.
  • 2018-02-27: Version 10.1.2 Supports the React API for ReactDOM.hydrate.

  • 2017-09-06: VERSION 9.0.0 shipped! This version depends on Webpacker directly. See Upgrading React on Rails for more concise instructions on upgrading.

  • Always see the CHANGELOG.md for the latest project changes.

  • VERSION 8.1.0 shipped with webpacker_lite (soon webpacker support! react-webpack-rails-tutorial PR #395 shows the changes needed to migrate from the Asset Pipeline to Webpacker Lite. For more information, see my article: Webpacker Lite: Why Fork Webpacker?. Per recent discussions, we will merge Webpacker Lite changes back into Webpacker. There's no reason to wait for this. The upgrade will eventually be trivial.

  • 2017-04-25: 7.0.0 Shipped! Performance improvements! Please upgrade! Only "breaking" change is that you have to update both the node module and the Ruby gem.

  • 2017-04-09: 8.0.0 beta work to include webpacker_lite gem has begun. See #786.

  • 2017-04-03: 6.9.3 Released! Props rendered in JSON script tag. Page size is smaller now due to less escaping!

  • 2017-03-06: Updated to Webpack v2!

  • 2017-03-02: Demo of internationalization (i18n) is live at reactrails.com. Docs here.

  • 2017-02-28: See discussions here on Webpacker regarding how Webpacker will allow React on Rails to avoid using the asset pipeline in the near future.

  • 2017-02-28: Upgrade to Webpack v2 or use the --bail option in your webpack script for test and production builds. See the discussion on PR #730.

  • 2016-11-03: Spoke at LA Ruby: "React on Rails: Why, What, and How?". Video and pictures in this article.

  • 2016-12-20: New Video on Egghead.io: Creating a component with React on Rails

  • 2016-11-03: Spoke at LA Ruby, 7pm, Thursday, November 10 in Venice, CA: "React on Rails: Why, What, and How?". Video and pictures in this article.

  • 2016-08-27: We now have a Documentation Gitbook for improved readability & reference.

  • 2016-08-21: v6.1 ships with several new features and bug fixes. See the Changelog.

  • 2016-07-28: If you're doing server rendering, be sure to use mini_racer! See issues/428. It's supposedly much faster than therubyracer.

  • 2016-08-27: We now have a Documentation Gitbook for improved readability & reference.

  • 2016-08-21: v6.1 ships with several new features and bug fixes. See the Changelog.

  • 2016-06-13: 6.0.4 shipped with a critical fix regarding a missing polyfill for clearTimeout, used by babel-polyfill.

  • 2016-06-06: 6.0.2 shipped with a critical fix if you are fragment caching the server generated React.

  • 2016-05-24: 6.0.0 Released! Simplified generator and install process! See the CHANGELOG.md for details.

  • 2016-04-08: 5.2.0 Released! Support for React 15.0 and updates to the Generator.

  • 2016-03-18: Slides on React on Rails.

  • 2016-03-17: 4.0.3 Shipped! Includes using the new Heroku buildpack steps, several smaller changes detailed in the CHANGELOG.md.

  • 2016-03-17: 4.0.2 Shipped! Includes using the new Heroku buildpack steps.

    • Better support for hot reloading of assets from Rails with new helpers and updates to the sample testing app, spec/dummy.
    • Better support for Turbolinks 5.
    • Controller rendering of shared redux stores and ability to render store data at bottom of HTML page.
    • See #311.
    • Some breaking changes! See CHANGELOG.md for details.
  • 2016-02-28: We added a Projects page. Please edit the page your project or email us and we'll add you. We also love stars as it helps us attract new users and contributors. jbhatab is leading an effort to ease the onboarding process for newbies with simpler project generators. See #245.

  • 3.0.6 shipped on Tuesday, 2016-03-01. Please see the Changelog for details, and let us know if you see any issues! Migration steps from 1.x. Migration steps from 2.x.

  • 3.0.0 Highlights:

    1. Support for ensuring JavaScript is current when running tests.
    2. Support for multiple React components with one Redux store. So you can have a header React component and different body React components talking to the same Redux store!
    3. Support for Turbolinks 5!
  • There was a fatal error when using the lastest version of Redux for server rendering. See Redux #1335. See diff 3.1.6...3.1.4. Workaround for server rendering: Use Redux 3.1.7 or upgrade to React On Rails v2.3.0. this commit on PR #244.

  • 2.x Highlights:

    1. Fixed a critical problem with TurboLinks. Be sure to see turbolinks docs for more information on how to debug TurboLinks issues.
    2. Provides a convenient helper to ensure that JavaScript assets are compiled before running tests.
  • React on Rails does not yet have generator support for building new apps that use CSS modules and hot reloading via the Rails server as is demonstrated in the shakacode/react-webpack-rails-tutorial. We do support this, but we don't generate the code. If you did generate a fresh app from react_on_rails and want to move to CSS Modules, then see PR 175: Babel 6 / CSS Modules / Rails hot reloading. Note, while there are probably fixes after this PR was accepted, this has the majority of the changes. See the tutorial for more information. Ping us if you want to help!

  • ShakaCode is doing Skype plus Slack/Github based coaching for "React on Rails". Click here for more information.

  • Be sure to read our article The React on Rails Doctrine.