Hacker News new | ask | show | jobs
by CameronNemo 2250 days ago
Why? Server side rendering is often fast and well suited for pages with mostly read-only content.
2 comments

Yes, serverside rendering is generally more performant than a decoupled client/server-side approach. If server-side rendering is a requirement of the project I'd look into nuxt.js + vue

I was commenting more generally on the approach to building a web app with Django and including external js libraries in Django templates, which I've done in the past as project requirements have changed over time. After including external js libraries to Django templates, there is a lot less support in terms of resources and supporting libraries such as testing frameworks. If the client-side project is initialized with Vue, the project can benefit from the overwhelming amount of supporting resources.

If you integrate Django and vue this way (separate front end app), you can take advantage of the javascript build process for linting, minification, and whatever else: https://medium.com/@rodrigosmaniotto/integrating-django-and-...

You can also get live reloading working.