简体   繁体   中英

Server Side rendering in React boilerplate

I am using a boilerplate for react application https://www.reactboilerplate.com/

It doesn't provide SSR and now for SEO purpose I need that.

Can anybody help me to implement SSR in this boilerplate

You have to setup a express server and prerender the react app in that server and after that you can manage to have SSR. it's not a easy procedure at all. and very depends on libraries that you've used in your project. Some libraries are not support SSR.For instance Element-react and open street map are not supporting SSR.

This Link may help you

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM