Here’s a mind-blowing idea: Instead of adding server-side rendering by getting your client-side framework to work on the server, too, first start with server-side rendering and make it really, really fast; then as a next step, maybe don’t do that client thing.
48
395
36
1,098
Can Rails severs even render JS in an easy way? I assume your idea relies on the fact that the server is also running JS.
1
Replying to @pkursawe
What does Rails have to do with it?

Jun 1, 2018 · 6:52 AM UTC

1
Replying to @stilkov
Well if the API Server is a rails server how can it use the same js code to render that the client would use?
1
The point is it shouldn’t have to render the same stuff because what’s rendered on the server is only rendered on the server
1