3 ms·
You switched from a C# or Python backend to node.js so that you can render React on the server, correct? Or are you doing something fancy to serve react.js rend
by dwaltrip 8y ago
You switched from a C# or Python backend to node.js so that you can render React on the server, correct? Or are you doing something fancy to serve react.js rendered contents from a non-js backend?
I agree that the hybrid approach of both server-side templates and SPA-controlled content looks difficult.
- ldiracdelta 8y agoPersonally, I don't use node.js as a backend. I normally use Django REST Framework (DRF). I may do server-side rendering of the client using express, still calling back into DRF for the data. The important piece for me is that I don't like the idea of generating a page in one language and then mutating the UI on the client side with another language. I just use one language for the whole UI.
- dwaltrip 8y agoThanks for sharing, that is an interesting setup.