A step by step walkthrough of how SSR in React works
Or “Why SSR in React is painful.” Not too long ago, I got suckered into building a site using React Serverside Rendering. The pitch was simple; the client needed an interactive site using 3d animations and stuff built with React. Unfortunately, a month in I learned that that only one page needed this level of interactivity and the rest of the page was typical CRUD stuff. Having already built most of the site using react for client-side rendering, I figured I could render the client on the server and get the best of both worlds. »