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?
Top comments (4)
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.
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.
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 :)Some comments may only be visible to logged-in visitors. Sign in to view all comments.