this post was submitted on 21 Jun 2024
56 points (96.7% liked)
Programming
17457 readers
65 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Fucking LoL!
Anyone here have thoughts about doing basic interactive stuff with at most vanilla JS?
I think basic or even complex stuff is fine in vanilla js.
The problems show up as you scale the team and code base. You can do a large project in vanilla js but you're going to have to solve a lot of the same problems frameworks/libraries have already solved. Maybe it's worth it, maybe it's not.
On the other hand:
Most Frontends are not super interactive google tables like applications and never will be and frameworks won't magically make your code maintainable or enable you to work with 50 other guys on that page that interacts with a simple CRUD-API, yet people choose a complex framework meant for huge projects and pile even more dependencies on to of it for that kind of stuff. it's like using a fleet of 18 wheel trucks for grocery shopping, when a basket and a bicycle are really all you'll need for that.
i'd guess most websites would be fine and feel "modern" with html, css and a small library for ajax stuff, because doing that by hand is repetetive and error prone.