LIVE! Are You In A React Cult?

Поділитися
Вставка
  • Опубліковано 5 лют 2025
  • React is a huge community. Misconceptions and bad information around useMemo, useCallback, the spread operator, React class components, Redux and more spread like wildfire and create cult-like followings who swear by this stuff. Let's take down a few of these big misconceptions.
    👉 Upcoming NextJS course: pronextjs.dev
    👉 Don't forget to subscribe to this channel for more updates: bit.ly/2E7drfJ
    👉 Discord server signup: / discord
    👉 VS Code theme and font? Night Wolf [black] and Operator Mono
    👉 Terminal Theme and font? oh-my-posh with powerlevel10k_rainbow and SpaceMono NF

КОМЕНТАРІ • 8

  • @Sorkstryparen
    @Sorkstryparen 10 місяців тому +1

    Great video and love to see you doing live! 💪💪

  • @tanercoder1915
    @tanercoder1915 10 місяців тому +1

    Love you recent videos' thumbnails , like comic book fonts

  • @vicentealmeida1336
    @vicentealmeida1336 10 місяців тому +1

    What a shame I missed this stream, any plan to this again?

  • @iamTLC
    @iamTLC 10 місяців тому

    Only thing I need to say….. is you’re awesome! 🎉
    This has got me thinking about my spread operators in my redux slices. That this would possibly help to reduce some rerenders of if I kept the same reference and updated just parts of my array…

    • @jherr
      @jherr  10 місяців тому +3

      You should use Redux Toolkit if you aren't already. And the actions in there are wrapped in immer, so you don't have to worry about spreads and references. You just adjust the data as you please and it "just works" (tm).

    • @iamTLC
      @iamTLC 10 місяців тому

      @@jherr thats beautiful! I’m using rtk so using them doesn’t matter? Wow incredible :)

    • @jherr
      @jherr  10 місяців тому

      @@iamTLC No. You can use stuff like state.todos.push({ ... }) and it'll work. redux-toolkit.js.org/usage/immer-reducers#immutable-updates-with-immer

  • @zanzaraloggan3713
    @zanzaraloggan3713 10 місяців тому +1

    That's one (very) important topic to talk about