3 ms·
It's perfectly possible and common to generate a server-side render with the data fetched, so it doesn't break any consistency with the client-server model.
by beejiu 2y ago
It's perfectly possible and common to generate a server-side render with the data fetched, so it doesn't break any consistency with the client-server model.
- tuyiown 2y agoYes, that's also why it's great to use a router compatible with react SSR render capabilities, since you'll have a consistent and predictable behavior either from first rendering on the web client, or page change and loading on client js code.