Skip to content

vasanthk/react-server-rendering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 

Repository files navigation

React Server Rendering

renderToString()

ReactDOMServer.renderToString(element)

Render a React element to its initial HTML. This should only be used on the server. React will return an HTML string. You can use this method to generate HTML on the server and send the markup down on the initial request for faster page loads and to allow search engines to crawl your pages for SEO purposes.

If you call ReactDOM.render() on a node that already has this server-rendered markup, React will preserve it and only attach event handlers, allowing you to have a very performant first-load experience.

References

React renderToString() Performance and Caching React Components

Using Electrode to Improve React Server Side Render Performance By Up To 70%

Strategies for server-side rendering of asynchronously initialized React.js components

Server-Side Rendering With React, Node And Express

Discussion: Support asynchronous server rendering (waiting for data before rendering)

Suggestions: Speeding up Isomorphic app

React DOM Stream

You’re Missing the Point of Server-Side Rendered JavaScript Apps

How to build React apps that load quickly using server side rendering

Client Routing and Server Side Routing

Videos

Hastening React SSR with Component Memoization and Templatization

Reactjs - Speed up Server Side Rendering - Sasha Aickin

Server-Side Rendering Isn’t Enough: NodeJS

How Streaming Can Supercharge React - Sasha Aickin

Discussions

Support asynchronous server rendering (waiting for data before rendering)

About

Info on React Server side rendering

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published