How GOOD was React Actually?

Поделиться
HTML-код
  • Опубликовано: 22 янв 2025

Комментарии • 9

  • @Ali-mi9up
    @Ali-mi9up Год назад +1

    Why does this channel not have more views and videos!? Love all your content.

  • @Ali-mi9up
    @Ali-mi9up Год назад

    The video has so much more than what the title just says. Absolutely brilliant stuff.

  • @alexnelson2119
    @alexnelson2119 6 месяцев назад

    Enjoyed that! Lots of other libraries have attempted to solve the same problem. KnockoutJS was an early one that went under the radar. Be curious how you think Svelte and SolidJS stack up.

    • @sammytalks7215
      @sammytalks7215  5 месяцев назад +1

      I'm not as much of a Svelte/SolidJS expert as I am with the other frameworks, but overall:
      - I like react better, especially the direction react is going with an emphasis on functional components. For me it's just a logically very simple way to think about the world, to have everything as a tree of components, and every component is (mostly) just something that inputs properties and outputs state.
      - From my understanding, Svelte provides a lot of like programming convenience/little syntax sugar over react, but this has never really been an issue for me as I use another library built on top of react, so I guess I just sort of avoided this problem entirely (reagent-project.github.io).
      - Svelte (and several alternatives to react) can have smaller bundle sizes, especially for small applications. React needs all this code in order to like set up it's representation of the DOM tree, and do all of this state management to get started, whereas other frameworks give many of the same features, but are a little bit more small and nimble. I admire the goal of having blazingly fast downloads and performance, and I wouldn't fault anyone for using a different framework (or even ignoring everything and using pure HTML/making a 1990s style website) if it made their website go fast on small hardware.
      - I think the idea of re-rendering variables that change rather than full components is neat, but it feels too constraining for me and the way I use react. I'd like to see something sort of in between, that uses more of a smaller/svelte style update when possible, but has the ability to re-render the react DOM when necessary, and then sort of implement the solidjs state machine as an optimization that runs under the hood, with no devX changes to react.

  • @LeChatNoirDansLaNuit
    @LeChatNoirDansLaNuit Год назад +1

    ClojureScript with reagent is really nice

  • @memeking8734
    @memeking8734 Год назад +1

    I have to agree, despite its flaws, react solves a problem that many faced and solved it well.

  • @dipeshranjan7
    @dipeshranjan7 Год назад

    I am at 7 mins now, and I just noticed that it just has 161 views TF? how could it have such less views?