Build your own state management in React with Hooks!

preview_player
Показать описание
Did you know you can use only React and hooks to build your own state management solution?! I'll show you how to use Hooks to invent your own state management solution in React. We'll cover:

- Context
- Update Mechanisms
- Performance
- Usage Patterns
Рекомендации по теме
Комментарии
Автор

Great video - good for tying together many of the core concepts of native React. For anyone reading the comments first, there's a logical break @51:10, so if you don't have time for the whole video check out the first half at least.

riongull
Автор

Damn. Was hoping to see the holy grail of React-only global state management. Still, glad you walked through all the different technical theory. It's good to know what the current state of state management is :P

dolphin
Автор

Thanks Tanner. You did lose me at the abstraction part.

eleah
Автор

First, I love you. Second, i tried putting a console.log('RENDER_TEST') within the provider and tried adding context with and without useMemo. I did not see a difference in rendering. It rendered once, regardless. Is there a way to see this happen?

michaelbruceallen