Gurgaon Chapter
Webinar
Gurgaon Chapter

How to make Robot in Node?


Nitin Kumar Gurgaon Chapter

To specify how the state tree is transformed by actions, you write pure reducers.

Reducers are just pure functions that take the previous state and an action, and return the next state. Remember to return new state objects, instead of mutating the previous state. You can start with a single reducer, and as your app grows, split it off into smaller reducers that manage specific parts of the state tree. Because reducers are just functions, you can control the order in which they are called, pass additional data, or even make reusable reducers for common tasks such as pagination.

Speakers
  • NA 1.5k 0
Chapter Leader
37 2.6k 1.9k

Webinar Details

Image Loading...