r/javascript • • Jun 12 '22

How to use bootstrap in React

https://www.devtip.co/how-to-use-bootstrap-in-react/
0 Upvotes

29 comments sorted by

View all comments

-6

u/someexgoogler Jun 12 '22

Don't use react

2

u/seriouslynoideaman Jun 12 '22

Are we ditching react already?

-4

u/someexgoogler Jun 13 '22

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.

2

u/react_dev Jun 13 '22

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.