markjgsmith

Linkblog

2023/11/15 #

  • How to Build a Server-Side React App Using Vite and Express - It's essentially a minimal example that demonstrates data fetching and server side rendering (SSR) with a browser client that hydrates the app with a copy of the fetched data that is stored in a <script> tag on the SSR'd page. It's pretty cool, though I'm a little confused by the statement at the beginning saying that it isn't using a framework, when it clearly is using React. Reguardless, it's an imformative tutorial, uses Express to serve the app, with a vite development server that Express loads as a middleware. It all seems suprisingly straight forward. thenewstack.io #

For enquiries about my consulting, development, training and writing services, aswell as sponsorship opportunities contact me directly via email. More details about me here.