Are You In A React Cult?

preview_player
Показать описание
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.

👉 VS Code theme and font? Night Wolf [black] and Operator Mono
👉 Terminal Theme and font? oh-my-posh with powerlevel10k_rainbow and SpaceMono NF

00:00 Introduction
00:45 The Never Spreaders
02:29 State Management Now And Forever
03:57 The Kondo Coders
05:49 The useMemo Conspiracy
08:22 One Render To Rule Them All
09:56 The Pyramid Scheme
11:20 The End (or is it?)
Рекомендации по теме
Комментарии
Автор

The worst spreads are {...props}, what props? What are they doing? Where are they coming from?

discontinuity
Автор

You are the first non-german tech influencer pronouncing "Zustand" right

bilbobeutlin
Автор

I love how you discussed clear pros and cons of everything (even though some react patterns are just dumb to use) instead of blindly believing something about some technique like the cults.

MrJellekeulemans
Автор

A voice of reason. Too many Twitter accounts and YT chans pump out absolutist content for views and likes. I always come to your channel for well-reasoned takes. Keep up the great work Jack!

divinelogik
Автор

This is much needed it, thank you sir, I lost track of the times I cringed over some of these clickbaity video titles "This <insert new tech> is game CHANGER AND ALL YOU NEED 😱", how about these tech influencers just relax for a second.

hassan-uq
Автор

I learned that I am the Kondo Coder.

The slatejs editor in my app is very laggy. Suspected the slate package only for so long.
Moved the nested component definitions in the Editor component out.
Butter smooth editor.

Thank you so much.

prasanna_codes
Автор

Love that you’re standing up for this! 🎉

peachesfruitella
Автор

That last part is true not just for code, but also for society in general. Thank you for making this video.

mr-skorpion
Автор

So many of these beautiful thoughts and insights clumped in a single video.
It is true that using the same tools for every project is very close-mindedness. It seems to me that people using Redux in every project are sometimes just afraid to not face the wrath of these cults.

SufianBabri
Автор

Good refresher! That implicit arrow body creates and returns a new obj () => ({}) after each iteration! Was not sure, how ot works with reduce, but now it is clear!

codeChuck
Автор

Dang, it’s crazy how often the, “this doesn’t need to be said, ” needs to be said… glad you’re out here taking out the garbage 🙏

dave
Автор

I watched your video about Jotai state manager, and I liked it. it is simple and light. I wish there was way for us to review our code with some expert and see if we are doing it right or wrong.

haythamkenway
Автор

"Use XY as it is meant to be used". Wise words. When eslint became popular I was wondering about rules crippling JS. Rules forbidding the use of certain language features or operators. And often the reason was "people make mistakes with that". I always said "Well, then learn the language and learn to avoid those mistakes, but don't cripple the language."

imagiro
Автор

Also, this helps me, I think of components like muscles. You want to use your muscles, not extend them. Extending them leads to injury from misuse, regular use leads to strength. Hope that helps someone.

askholia
Автор

love you and your videos jack, you are literally my favourite mentor. learned alot!

Blue-bbro
Автор

Great video, and as always, right on. Never will understand why so-called 'software engineers' want to fight against how React works. I've found over many years that it just works great without a lot of mucking with it and worrying about re-renders too much. Maybe all the hooks are a bit confusing, and hope the React team might make it more clearer when, how and why to use them.

andrewwall
Автор

When I was learning and younger, stuff like this was what made it really hard to learn. I it took me a lot longer than it should have to switch to tailwind because of stuff others said about it that I just took as true.

realbigsquid
Автор

Informative
Thanks for posting this. ❤

Assassin
Автор

I really appreciate your healthy engineering mindset talk at the end.

What can I say? It spoke to me at time when I needed it most.

Thanks Jack. 👍

LeCube
Автор

I really liked the style of this video. I give it 5 starts ⭐⭐⭐⭐⭐

alejandroechavarria