by kenOfYugen · 8y ago · 0 comments
Most of the current SPA frameworks can re-hydrate SSR'd JS without issue, so instead of configuring SSR, just use a headless browser, which is what Roast does.
A friend did an experimental library way back using server sent events for the Yii framework. I don’t think I fully appreciated the idea back then. Admittedly Elixir seems a better fit for this pattern than PHP tho
As far as performance goes js isn't too bad. It's async by default and a lot of effort has gone into making it run fast.