Closed
Description
- I curious as to the purpose of eval vs. compile methods in the execJS?
- Any advice on what's going the be best performance for rendering react components server side?
- Here's how another project is doing this without webpack: https://github.com/reactjs/react-rails/tree/master/lib/react/server_rendering Anything right or wrong about what they are doing? Here's the docs on that: https://github.com/reactjs/react-rails#server-rendering
Here's a discussion on performance: [testing] Execjs runtime benchmarks reactjs/react-rails#290
Summary of performance advice from react-rails:
Recommends: https://github.com/cowboyd/therubyracer
On MRI, use therubyracer for the best performance (see discussion)
On MRI, you'll get a deadlock with pool_size > 1
If you're using JRuby, you can increase pool_size to have real multi-threaded rendering.
Metadata
Metadata
Assignees
Labels
No labels