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
Great video and love to see you doing live! 💪💪
Love you recent videos' thumbnails , like comic book fonts
What a shame I missed this stream, any plan to this again?
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…
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).
@@jherr thats beautiful! I’m using rtk so using them doesn’t matter? Wow incredible :)
@@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
That's one (very) important topic to talk about