Full Stack Web Development

TH17 Redux is Dead, Long Live Redux!

03/05/2020

2:45pm - 4:00pm

Level: Intermediate to Advanced

Ramón Guijarro

Web Engineer

Redux is arguably the de-facto standard for global state management in the React ecosystem. Yet despite its huge popularity, it's often accused of being too cumbersome, requiring developers to write a lot of boilerplate code and constantly switch between many files. Tools like Redux Starter Kit aim to improve the situation, but some people still feel Redux is too much for their projects. However, rolling our own state manager is out of the question. Or is it? In this talk we'll see how to take advantage of the new useReducer hook and the official Context API to build custom Redux-like solutions, so we can simplify it in whatever ways we want or take different approaches that better suit our project. The experience will actually help us understand Redux better and appreciate the good things about it.

You will learn:

  • About problems with Redux and current solutions
  • Approaches to custom implementations
  • What we lose without Redux