Middleware-heavy Redux

Trainer: Vlad Zelinschi, Google Developer Expert

Upcoming date: 17th of August, 2018 from 13:00 - 17:00

Location: Iasi

Price: 100€/attendee (+ VAT)

Max. attendees: 10

Redux is more than just another state management library for JavaScript; it is a set of tools that help us implement a lean version of a frontend-oriented messaging system.

If you are building an SPA with a lot of asynchronous operations that constantly change the state, you should definitely consider adopting Redux as a solution. However, the traditional patterns that focus on heavy Actions and Action Creators via redux-thunk may not be the best choice if you want to scale out.

In this workshop we will explore an alternative architecture, one that is driven by middlewares. We will learn how to approach big applications built on this idea and see the pros and cons of this concept all while building a simple CRUD app.

Workshop Agenda

  1. Programming with Actions
    a. Action in, Action out
    b. Action intentions
    c. Action construction, payload and metadata
  2. Transforming patters applied to Actions
    a. General transformation patterns
  3. Action routing patterns
    a. Core and feature middlewares
    b. The Normalize Core middleware
    c. The Notification Core middleware
    d. Feature middlewares as Action routers
    e. Constructing a feature middelware
    f. The API Core middleware

Students Prerequisites

  1. Every student will have his/her own laptop. For best results, it is not advisable to multiple people working on the same machine
  2. Node v8.9.4 or greater installed (https://nodejs.org/en/download/)
  3. Git v2.16.0 installed (https://git-scm.com/downloads)
  4. An IDE/code editor of choice (Sublime Text, Atom, Visual Studio Code, WebStorm, etc.)

Thank you for reading. Now help us spread the ❤️ by sharing.