Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
For making my Django app more dynamic, but use Django render, should I use Vue or Alpine? Or something else?
Post Body

I'm currently developping a fairly large (containerized) Django app. It's growing in use and I'm starting to need to make the UI more fluid with dynamic elements.

So far, we have overhauled the templates with lot of jQuery. That makes it possible to update the DOM and the database without reloading every page. A lot of our Django views are called via AJAX, accomplish some actions and return JSON responses.

jQuery is beginning to feel wonky and unstable, as we are dealing with asynchronous calls, constant tinkering with the DOM, and such.

I was considering upgrading to a more complex JS Framework.

It seems Vue.js would be a good fit but lots of options would not work with a simple CDN approach? It seemes made for handling *all* of the frontend, but that would need a radical switch of the app toward a separated front and back. Or would it not?

Alpine.js comes across as a lightweight option, that could be a nice next stepping stone. But would it be so much better than jQuery and justify that switch?

Which would you recommend, and why? Or do you have any other suggestions?

Many thanks!

Author
Account Strength
90%
Account Age
5 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,173
Link Karma
820
Comment Karma
353
Profile updated: 1 week ago
Posts updated: 4 days ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
6 days ago