by neoplatonian · 6y ago · 0 comments
One could also reach for something like Preact if some components are too complicated for manual imperative updates. You can use it without a build step and only for some parts of your pages. For compatibility you can ship a server-rendered component that you then throw away if the client has JS enabled (although that would require you to implement it twice).
If you do it that way you don't need server side rendering since your JS is only handling events and there are no client side components or anything like that.