I think react has some uses, but I also think it is waaaaay overused. I built one project in react, but I find it idiomatic, bloated, and hard to maintain. In particular, form validation is difficult in react. Of course react has a huge number of followers, but so did jquery and BASIC back in the day.
React is a lightweight rendering library. Think of it like jQuery. Form validation has always been hard without two way binding. But there are libraries now like formik that makes it a breeze to work in React.
Say what you want about React but they completely changed the game on how web apps are written. Components, JSX, lifecycle hooks, and one way dataflow made its way to other frameworks and are here to stay.
If you want it to scale better, then create component systems with a tighter interface. React doesn’t hold your hand so it’s easy to write crappy code. But with discipline it’s shown to be extremely effective at scale…. as proven at many companies already.
-6
u/someexgoogler Jun 12 '22
Don't use react