3 ms·
I tried both and I think in the future I'm going to going back to server-side templating. One thing I found hard with client-side rendering is duplicated logic
by kureikain 8y ago
I tried both and I think in the future I'm going to going back to server-side templating.
One thing I found hard with client-side rendering is duplicated logic/model in client/server. Say I add a field to database, I added it to model on server. Nows I have to do it on the client.
Granted We can use code generation or tool like Protobuf etc but the fact remain that the rendering logic is somewhere else.
Plus I have to hack a lot for client side rendering if we don't want to use `#` trick.
So I feel I'm going backward but prolly I will started to do more with serverside templating