Don't make me think, or why I switched to Rails from JavaScript SPAs
SPAs are the "Google-scale" of frontend tech. YAGNI unless you are Big (or trying to fleece VCs).<p>SPAs are useful where the latency and overall UX of a button press can be translated to some tiny % increase in a KPI through A/B testing, etc. Where you want to track user behavior down to a pixel & microsecond, and wrapping every element in JS is the only way to get there. This is frankly irrelevant to 99% of projects and companies.<p>SPAs are not designed for developer productivity, they are designed by BigCo that can spend 0.01% of their revenue to hire multiple teams/ICs to squeeze out a +0.1% increase in revenue. It's comparable to doing microarchitecture-specific optimizations for your clientside website code. Totally irrelevant to your side project or startup.<p>Pick a <i>productive</i> stack/framework and build out your product with a solid foundation. You can always bolt on websocket-based features as required. <i>Maybe</i> rewrite your frontend in a SPA framework once you hit $100mm revenue.