Dennis Brotzky
Sep 6, 2018 · 1 min read

Hey!

In development don’t send back SSR code! When you’re in development treat the app like a client side app and only on build and testing do you want to actually render out the HTML and CSS in your index.html file.

check process.env is development
if it is, don’t send back html and css

That should be it. Hope that helped.

    Dennis Brotzky

    Written by

    Co-founder at Narative — Design & Engineering.