reactjs / react-rails

Integrate React.js with Rails views and controllers, the asset pipeline, or webpacker.
Apache License 2.0
6.75k stars 759 forks source link

Lazy load with SSR #1111

Open ops1ops opened 3 years ago

ops1ops commented 3 years ago

Hi, guys im new to your library and i wondering how can i use any lazy load react components with SSR enabled? I've found library https://loadable-components.com/, and wrapping components in loadable disables their server side rendering, so maybe anyone faced such a problem and can share experience, would be nice

justin808 commented 1 year ago

@ops1ops Loadable Components us supported by React on Rails Pro. Get in touch for more info.

justin808 commented 1 year ago

We don't have plans to support loadable-components here.