This is why I started disliking REACT.

Ishwar Rimal
2 min readMay 17, 2022

After working with react for 5 years, this is what I feel about React.

The more I see updates on React, the more I dislike it. I understand there are 100s of new libraries, but 100s of new hooks in a single library?? It’s been like 6 months since I stopped working on React and I already feel like I don’t know it. With every update, they’re coming up with a solution to the problem they created in the previous updates. 😣

I can’t believe I even defended React and its way of updating state. Yes, I thought `useState` was the best way of updating the state. My brain stopped asking:

why:

const [name, setName] = useState(‘’);
setName(‘Ishwar’);

and not directly:

let name = ‘’;
name = ‘Ishwar’;

The problem I think is that React made us believe that they’re giving us the best. Considering the team it’s coming from also compared to the available libraries, we set our inclination towards React but failed to dismiss / question some of their features. (Facebook walo ne banaya he, accha hi banaya hoga — made by FB, should be good only)

I think any library that brings developers closer to the Vanilla ecosystem, that doesn’t force the dev to use its implementation (`hooks` in case of react) and lets the developer handle most things with some utility libraries, will be the ultimate winner in this Library battle.

Fix those issues with vanilla JS, like state management, smart rerendering, etc, and you’re going to rule the FE world. Yes, Svelte is very close to doing that.

I loved Class components with all the lifecycle methods => I hated class components as I started working with functional components => I loved hooks => I am getting confused with 100s of hooks => I dislike REACT => I LOVE SVELTE.

P.S : JSX is something unique that came out of React. A templating library like JSX was always missing in the FE world which is now somewhat solved with ES6 string templates.

--

--

Ishwar Rimal

Senior FrontEnd Engineer at Intuit. 8 years experience. I write articles on JavaScript, React, Web Optimisation, Startups, Work Life Balance, etc. ❤️ JavaScrip