"if you have a project that works with straightforward code, don’t over engineer it by chasing what’s hot. Keep it simple and protect your momentum on the project at all costs."
This is the best advice from the article. Use the right tool for the job. You'll never catch me championing PHP or jquery (seriously, what use does jquery have in 2024??) , but vanilla js and html certainly have their place and purpose.
Yeah, the jQuery part also surprised me. But I guess he's been using it for years and why bother switching when it would cost momentum?
Idk where else to say this, so I'll just say it here. I hate React.js. At first I was intrigued by it, then confused, then amazed, and finally disgusted. After years worth of working on React projects, and using React sites, I've finally decided it's an affront to all good development standards. It violates so many best practices, and breaks a ton of built in browser functionality that you should get for free. So you have all these thousands of developers writing custom code for basic shit like browser history, state refresh, back buttons, etc., and half of them get it wrong. Now we have huge websites from companies worth hundreds of billions of dollars, and their sites are broken pieces of shit. So, again, I hate React.
More than a decade in. I started with WordPress and PHP+jQuery. Then moved through the entire JS Framework suite of angular, react, Vue, svelte... I'm not as exhausted as the author. But I'm pretty tired. All the JS projects require frequent maintenance. Where the PHP project gathering dust on PHP 5.6, it only took me a few days to bring it up to PHP 8.2 and update all the libraries. It would be 10x as long were it a JA Framework.
I blame bootcamps who adopted React and only taught that. Watching devs hate on JS because they decided to do web development in React. Not to mention the many many convoluted patterns in React over the past 8 years makes it incredibly challenging to update projects.
Going from jquery to angular was a world of change. But it was relatively simple and fun to write SPAs. But then webpack and react came along... those two are among the most complex JS projects I know of.
Their internal code is nowhere near clean and the concepts neither. They generate immense webpages that are shiny and all but it's such a large mishmash and keeping track of state with the state manager is horrible.
Also debugging those two projects... Both have convinced me to step away from JS. It's just too much complexity.
This is the best state management I've used, with any front end stack. If you decide to try react again, give it a shot https://github.com/pmndrs/zustand
Web Development
Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development
What is web development?
Web development is the process of creating websites or web applications
Rules/Guidelines
- Follow the programming.dev site rules
- Keep content related to web development
- If what you're posting relates to one of the related communities, crosspost it into there to help them grow
- If youre posting an article older than two years put the year it was made in brackets after the title
Related Communities
- !html@programming.dev
- !css@programming.dev
- !uiux@programming.dev
- !a11y@programming.dev
- !react@programming.dev
- !vuejs@programming.dev
- !webassembly@programming.dev
- !javascript@programming.dev
- !typescript@programming.dev
- !nodejs@programming.dev
- !astro@programming.dev
- !angular@programming.dev
- !tauri@programming.dev
- !sveltejs@programming.dev
- !pwa@programming.dev
Wormhole
Some webdev blogs
Not sure what to post in here? Want some web development related things to read?
Heres a couple blogs that have web development related content
- https://frontendfoc.us/ - [RSS]
- https://wesbos.com/blog
- https://davidwalsh.name/ - [RSS]
- https://www.nngroup.com/articles/
- https://sia.codes/posts/ - [RSS]
- https://www.smashingmagazine.com/ - [RSS]
- https://www.bennadel.com/ - [RSS]
- https://web.dev/ - [RSS]