[Web] Why I’m Never Using React Again (After Building 30+ Production Apps)

Mashiane

Expert
Licensed User
Longtime User
Hi Fam

This was such an interesting read.


The moment of clarity came last year while working on a complex dashboard application. My team had spent six weeks building a sophisticated data filtering system with React, Redux, Formik, and a dozen other dependencies. The bundle size was creeping toward 1MB (minified!). Performance was acceptable but not great. The codebase had grown so complex that onboarding new developers took days. Then our main competitor shipped essentially the same feature. When I investigated their implementation out of professional curiosity, I discovered they’d built it with vanilla JavaScript, HTML, and a sprinkle of Alpine.js. Their solution was less than 30KB, noticeably faster, and — here’s the kicker — took a single developer just six days to build.

That’s when I started questioning everything.


Why BANano?

The beauty about BANAno is that it produces javascript code from b4x. Which means you can build and optimise your app the best way you see fit and it will do exactly as you want it. The thing about some of these web frameworks is that they compile everything back to javascript, irrespective of how complex they are and the learning curve you need to understake in the process. The arguement then is, why not just use the real deal in the first place?

Im not saying there are no advantages of using web frameworks, there are, but the crux comes to these eventual discoveries where people "start to question everything".

Enjoy your coding or AI coding... ;)
 

aeric

Expert
Licensed User
Longtime User
So the question is what do I want to use for Javascript?
ReactJS
AngularJS
VueJS
Svelte
HTMX
AlpineJS
BANano
JQuery
VanillaJS
TypeScript
 

aeric

Expert
Licensed User
Longtime User
In my Web API Server template, I use jQuery as the JavaScript dependency.

Anyone can replace it with other JS library or framework as demonstrated in one of my tutorials, I have showed with VueJS.

The CRUD front end on home page and category page take about 9KB and 5KB respectively while the Help API testing page is taking only 4KB of JS.
Unminified or gzipped.
 

aeric

Expert
Licensed User
Longtime User
Yesterday I come across a new JS library, just like HTMX, working with Hypermedia.
If you like the concept of HTMX and AlpineJS, you may want to check out Datastar, a combination of what both (HTMX + AlpineJS) can do.
It challenges what the web frameworks like React, Vue and Svelte can do.

 

aeric

Expert
Licensed User
Longtime User
Also this;

I read a few sentences but I cannot read further with so many swear words.
dude purposely buy the domain just for writing that html page.
and it is inspired by another dude also did the same. *link at the bottom
 
Top