Skip to content

What is the state of SSR in React Native? #11

Answered by ShikaSD
AndreiCalazans asked this question in Q&A
Discussion options

You must be logged in to vote

In general, SSR is something we looked into, but decided to ultimately postpone, focusing on executing the client work ahead of time (e.g. pre-loading/pre-rendering).

One of the main reasons why it wasn't a focus is differences between initial render in web browser and RN:

  • With the web browser, server-rendered page will be handled by the browser separately, resulting in more efficient rendering, while many elements (e.g. links) will have a basic level of interactivity. This allows to effectively present semi-interactive pages without hydration, and full interactivity when JS is ready.
  • With React Native, the situation is a bit different. We could serialize the ShadowNode tree and present …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cortinico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants