3
21 Comments

What Is Your Aha Moment With React

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?

posted to Icon for group Developers
Developers
on March 24, 2021
  1. 4

    My Ahaa moment was when I moved to Vue ๐Ÿ˜‚

    1. 2

      I was gonna say something similar. I'm pretty new to front-end frameworks. When I was learning about the two, I was able to folllow Vue a bit better. But Vue wasn't around when some people got started. Having said all of that, I'm now happily using Svelte ๐Ÿคฃ

    2. 1

      I used both Vue and React. For some reason, whenever I start a new project, if I expect it to grow big, I always go with React. It feels better suited for larger-scale projects. I still love and use Vue for small projects with a few pages/components for quick MVPs.

  2. 3

    Honestly, my experience with React got a lot better when I started using Next.js (at least web-wise, I also do some React Native development every now and then).

    That's what we are using to build Adflow atm, and although I've tried other alternatives (both React but also Angular and Vue), I'm sticking and enjoying Next.js atm. The two ones that are picking my interest right now are Blitz.js anr SvelteKit ๐Ÿค”.

    1. 1

      I currently use svelte/sapper. Gonna start experimenting with svelte-kit soon.

    2. 1

      I am also after Next.js right now. A lot of noice around it.

      Previously I have setup my blog (https://webup.org/blog) with GatsbyJS but it could be a bit frustrated to work with.

      Never heard of Blitz.js :)

  3. 2

    Not on React but I did have an Aha moment on React Native.

    I have been an android developer for a few years and seeing my code not only run on Android and iOS but run so well that it's like native? Feels like magic.

    I changed my job to React Native developer soon after.

  4. 2

    Clicked very fast compared to angular etc.

    For me Redux made so much sense. I was able to do crazy things that I didn't even know was possible (editing large objects and having the changes shown instantly).

    I haven't used hooks yet. Still on classes. It's a shame all the tutorials use hooks now. So I have to convert the code back to classes.

  5. 2

    The new Vue3 is way better from an architecture perspective. People only using React because it has consensus going for it (due to the support from a big company)

    I feel the same way about Firebase.

    1. 3

      Seen a bunch of folks moving from Vue to React recently.

      I have been doing some work with Vue and it is refreshing, but for any large scale project I would still use React.

      1. 1

        Based on what?

        1. 1

          I agree with volkan. I can't tell exactly what it is, I use both Vue and React, but for large scale projects I always choose React.

  6. 2

    honestly, my aha! moment was me just getting over myself that it had it's origins in fb...

    ... i liked the original name, faxjs... lol.

    1. 2

      You mean faxjs as in ๐Ÿ“ ?

      ๐Ÿ˜€

  7. 2

    When I completed my first ReactJS project: react-emoji-search! ๐Ÿฆ„

    https://github.com/BraydenTW/react-emoji-search

    1. 1

      This comment was deleted 5 years ago.

  8. 1

    my aha moment was learning to hash keys for mapped components instead of using index.

    #reconciliation

  9. 1

    Apollo Client just blew my mind. All state management struggles solved once and for allโ€”if you have a GraphQL backend.

  10. 1

    My aha moment with react was when I started using Angular

  11. 1

    If it helps we have a blog documented public UI repo https://github.com/Uclusion/uclusion_web_ui

    Our idea was to try to help others with the steep React learning curve.

Trending on Indie Hackers
Iย spent $0 on marketingย and got 1,200ย website visitors -ย Here's my exact playbook User Avatar 49 comments Veo 3.1 vs Sora 2: AI Video Generation in 2025 ๐ŸŽฌ๐Ÿค– User Avatar 26 comments I built eSIMKitStore โ€” helping travelers stay online with instant QR-based eSIMs ๐ŸŒ User Avatar 20 comments Codenhack Beta โ€” Full Access + Referral User Avatar 20 comments ๐Ÿš€ Get Your Brand Featured on FaceSeek User Avatar 18 comments Day 6 - Slow days as a solo founder User Avatar 15 comments