Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Redux Actions | Fundamental Concepts
Introduction to Redux
course content

Conteúdo do Curso

Introduction to Redux

Introduction to Redux

1. Getting Started
2. Fundamental Concepts
3. Redux in Practice
4. Creating a React-Redux Application

bookRedux Actions

In code, an action is simply a plain JavaScript object having a type key:

Additional keys can be added to represent information or data related to the action:

The types are named in a specific way by convention. The general syntax is domain/eventName. In this above case, it is counter/increment.

The domain represents the category of the action, while the eventName represents the event itself.

Select the most appropriate `type` for an action of slice `todo` and action name `addTodo`:

Select the most appropriate type for an action of slice todo and action name addTodo:

Selecione a resposta correta

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 1
some-alt