Guilherme Ventura, Desenvolvedor Front-end Sênior da Embratel fala sobre React + Redux. Pensando em Redux no JS Experience'17
Saiba mais em https://eventos.imasters.com.br/jsexperience
6. REDUX
∎ O que é?
∎ Quando utilizar no meu projeto?
∎ Os três pilares do redux
7. Redux is a tool for managing both data-state and UI-
state in JavaScript applications. It's ideal for Single
Page Applications (SPAs) where managing state over
time can be complex. It's also framework-agnostic, so
while it was written with React in mind, it can even
be used with Angular or a jQuery application.
- Brad Westfall, on Leveling Up with React: Redux
9. Don't use Redux until you have problems with vanilla
React.
- Dan Abramov
You'll know when you need Flux. If you aren't sure if
you need it, you don't need it.
- Pete Hunt
18. PLANEJE A
ESTRUTURA
Disseque cada ponto da sua aplicação antes de começar a codificar. Identifique os
componentes, a relação entre cada um deles, quais ações/dados cada um deve ter.
Ou enfrente as consequências depois...
19. CRIE OS COMPONENTES
DE APRESENTAÇÃO
Antes de começar a criar actions, reducers e containers, crie os componentes
que não vão lidar diretamente com a lógica da aplicação para facilitar a visualização
e a estrutura.