ReactOnRails v6.5.0 Release Notes
Release Date: 2017-01-31 // about 7 years ago-
➕ Added
- Allow generator function to return Object with property
renderedHtml
(already could return Object with propsredirectLocation, error
) rather than a React component or a function that returns a React component. One reason to use a generator function is that sometimes in server rendering, specifically with React Router v4, you need to return the result of calling ReactDOMServer.renderToString(element). #689 by justin808.
🛠 Fixed
- Fix incorrect "this" references of Node.js SSR #690 by nostophilia.
- Allow generator function to return Object with property