Up.
Inertia with SSR - development workflow
I'm experimenting with Inertia with SSR enabled and so far, so good.
Except I don't quite understand what the dev workflow should be. In order to make the server-side rendering match the actual dynamic components, I need to run npm run build followed by restarting the SSR server: php artisan inertia:start-ssr.
What should I do during development? Disable SSR entirely? Or are there any additional commands or tools to refresh the SSR contents during development? If I don't do this, I'm getting a whole bunch of errors about the server-side response and client-side component mismatch.
Also, if I don't start Inertia's SSR server during development, I'm getting these errors anyway.
Please or to participate in this conversation.