Skip to content
0:00 / 0:00

#redux#ngrx#statemanagement

Redux intro and demo with Pizza Sync

Maxime ROBERT

0 subscribers • 1 video on Hallway

YouTube
  • Recommended by 1 person: 1 on Stack Overflow and its sister sites.
  • Presented by Maxime Robert
  • Linked in the descriptionmaxime1992/pizza-sync
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

273 views9 years ago1 recommendation

Web developmentVue, Svelte, Angular and others

Maxime Robert introduces Redux and demonstrates state management using the Pizza Sync project.

Redux documentation : redux.js.org Pizza Sync : github.com/maxime1992/pizza-sync

Why it's here

1 person recommends this

What people say. Recommended as an introduction to Redux and state normalization.

maxime1992on Stack Overflow • Recommends

On “ngrx dealing with nested array in object”

Instead of having a nested structure export interface BlogContent { id: string; header: string; tags: string[]; title: string; actualContent: ActualContent[]; <------ NESTED } You should have a normalized state. For example here you should have something like : // this should be into your store export interface BlogContents { byId: { key: string: BlogContent }; allIds: string[]; } // this is made to type the objects you'll find in the byId export interface BlogContent { id: string; // ... actualContentIds: string[]; } // ---------------------------------------------------------- // this should be into your store export interface ActualContents { byId: { key: string…