Earlier quoted context omitted.
Is it possible to have all pages rendered server side?
are you asking to have a static site pre-built from React? I'd assume when he says "first page" he means any first page but generally from there the rest becomes dynamic react. Depending on how you load your data it should be much quicker to render entirely in the browser once the page has loaded.
React Server
31–40 of 143 posts
Re: React Server
#32Re: React Server
#33This is interesting, especially since I just spent the last two weeks setting up a boilerplate for a universal react/redux SPA on spec for a new client. I enjoy the flexibility but the need to develop a deep working knowledge of several independent libraries, transpilers, and build tool configuration files (each of which has several competing options with their own way of doing things) just to get to hello world is c…
FWIW, I've found the isomorphic render examples within the Megaboilerplate examples for React [0] to be instructive.
Re: React Server
#34After blocking 2 iframes with adblocker I could finally inspect what was going on :)
Anyway, I can definitely feel that is fast and seamless and worth to give a deeper look! In the meantime, prefetching all the content in docs or source views upon load generates quite a few requests and might explain your scaling issues. Would you mind sharing statistics for number of users and hardware behind ?
Re: React Server
#35Getting random 504 timeout errors on this site. Is this hosted using react-server?
We had some scaling issues, and have added a couple more hosts to the pool. The errors should be resolved now
Re: React Server
#36The data hydration, incremental HTML delivery and incremental code loading are really, really important for creating web apps that aren't load time hogs. Great to see that they were unopinionated about data fetching, too. That's one of the things that has made it difficult to drop Relay into existing applications.
Is this used in production? Are there any performance numbers that you can share.
Re: React Server
#37I see a bunch of failed attempts in console to connect to slack websocket. Is everything looking ok for you? After blocking 2 iframes with adblocker I could finally inspect what was going on :) Anyway, I can definitely feel that is fast and seamless and worth to give a deeper look! In the meantime, prefetching all the content in docs or source views upon load generates quite a few requests and might explain your scal…
Anyway, the errors in the console aren't impacting the behavior of the site (the badge is falling back to polling to get updates, for instance). They are ugly, though, and will be gone in a future deployment.
Re: React Server
#38I'd really love to see a demo of what they mean by "seamless transitions."
The website itself is meant to serve as a demo. :) When you land on the site the first page is rendered by the server. Then the client controller wakes up and subsequent page views ask the server for data, but render in the browser. That's what we mean by "seamless transitions".
Thx for Redfin btw!
Re: React Server
#39Re: React Server
#40Getting random 504 timeout errors on this site. Is this hosted using react-server?
It's a curious project but maybe not "Blazing fast page load and seamless transitions."