Hi there, so I’ve already run the generator with the option to do server side rendering. I’ve deleted the client side bootstrap (not the webpack configs), as my plan is to make this a single page app that renders from the server quite well for initial page load.
However, when I run the procfile, it always seems to load the client side config. I see the procfile does the rebundling, and the server.js handles the webpack-dev-server and uses the hot config. So I’m wondering what the best practice is to test & use server rendering in development. I’d prefer to not use
prender: Rails.env.production? in my react_component calls. I’d rather test it a head of time. Any suggestions on how best to proceed?