Skip to content
Justin Gordon edited this page Jun 3, 2018 · 30 revisions

Node rendering and caching performance enhancements for React on Rails.

Features

Caching

See Caching for details.

Server Rendering

Server rendering JavaScript evaluation is cached if prerender_caching is turned on in your Rails config. This applies to all JavaScript evaluation methods.

Fragment Caching View Helpers

  • Fragment caching for react_component and react_component_hash, including lazy evaluation of props.

React On Rails Pro VM Render

The "React on Rails Pro VM Renderer" provides more efficient server rendering on a standalone Node JS server. See the VM Renderer Docs.

Other Utility Methods

See the Ruby API.

References

Contributing

Please see CONTRIBUTING if you want to deploy and test this project locally.