All you need to use it, is only:
- install package
npm install fast-react-render
- replace you render to:
var ReactRender = ;var element = React;console;
React server rendering support cache for component.
Example with using LRU cache: render with LRU cache (install
lru-cache package first).
If you need more performance, you can try use fast-react-server - is high speed mock for react, which provide rendering 11 times as fast as traditional, but require more configuration for build system.