💣💥REACT HOOKS TUTORIAL - REACT HOOKS useEffect - REACT HOOKS useState💥💣

Publicado em: 30 Janeiro 2021
no canal de: Professor Hub
69
5

#REACT #HOOKS
IN THIS VIDEO WE ARE GONNA TALK ABOUT REACT HOOKS.

React doesn’t offer a way to “attach” reusable behavior to a component (for example, connecting it to a store). If you’ve worked with React for a while, you may be familiar with patterns like render props and higher-order components that try to solve this. But these patterns require you to restructure your components when you use them, which can be cumbersome and make code harder to follow. If you look at a typical React application in React DevTools, you will likely find a “wrapper hell” of components surrounded by layers of providers, consumers, higher-order components, render props, and other abstractions. While we could filter them out in DevTools, this points to a deeper underlying problem: React needs a better primitive for sharing stateful logic.

With Hooks, you can extract stateful logic from a component so it can be tested independently and reused. Hooks allow you to reuse stateful logic without changing your component hierarchy. This makes it easy to share Hooks among many components or with the community.

FOLLOW OUR INSTAGRAM PAGE:
@PROFESSORHUB_


THANKS.


Nesta página do site você pode assistir ao vídeo on-line 💣💥REACT HOOKS TUTORIAL - REACT HOOKS useEffect - REACT HOOKS useState💥💣 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Professor Hub 30 Janeiro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 69 vezes e gostou 5 espectadores. Boa visualização!