LIVE! Are You In A React Cult?

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024
  • 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

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

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

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

    Love you recent videos' thumbnails , like comic book fonts

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

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

  • @iamTLC
    @iamTLC 5 месяцев назад

    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  5 месяцев назад +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 5 месяцев назад

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

    • @jherr
      @jherr  5 месяцев назад

      @@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

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

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