DEV Community

loading...
Cover image for What Is Your Aha Moment With React

What Is Your Aha Moment With React

moubi profile image Miroslav Nikolov ・1 min read

My early days with React were... difficult.

Things didn't go straight. So many bumps and new concepts. It was slow to grasp Redux, rendering and class components.

Partly because I was so used to OOP in JavaScript, partly due to the new component UI patterns, I have to admit the whole journey was full of surprises and not easy.

Hooks didn't make things easier, either.

🙀 What is your latest React Aha moment?

Discussion (5)

pic
Editor guide
Collapse
thatanjan profile image
Anjan Shomodder

After learning react I wanted to learn Redux. because everyone was talking about. It was hard for me to grasp the concepts. Now I am developing a social media project with react. But sadly I have realized now that I don't even need redux. I am developing my application without redux smoothly. I was really disappointed. I also realized that these technologies are just temporary.

Collapse
moubi profile image
Miroslav Nikolov Author

Interesting. Is the application too small perhaps?

I learnt React together with Redux and the latter was not an easy going one.

It also seems the general consensus is to lift logic from your components and move it to Redux where it’s easy to test.

Collapse
ivanjeremic profile image
Ivan Jeremic

I had many it was basically my first language even before JS. I was never able to learn coding but thanks to react I was able to learn it the missing part for me was always to make my logic do something instantly on the screen and thanks to JSX this was super easy.

Collapse
revskill10 profile image
Truong Hoang Dung

I have no AHA moment with React, because everything should just works that ways.
The AHA moment is when i tried something cool like react-query to watch it invalidate caches, refetching :)

Collapse
robvirtuoso profile image
robvirtuoso • Edited

Aha! Redux is overrated. And now Recoil is following suit. "Just React" for me, thank you.