Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save iagodahlem/c2d28f2e07a1dfc5e6de8391bd133740 to your computer and use it in GitHub Desktop.

Select an option

Save iagodahlem/c2d28f2e07a1dfc5e6de8391bd133740 to your computer and use it in GitHub Desktop.
Scalable Frontend - The State Layer - State Shape
{
articles: [
{
id: 1,
title: 'Managing all state in one reducer',
author: {
id: 1,
name: 'Iago Dahlem Lorensini',
email: 'iagodahlemlorensini@gmail.com'
},
},
{
id: 2,
title: 'Using combineReducers to manage reducer logic',
author: {
id: 2,
name: 'Talysson de Oliveira Cassiano',
email: 'talyssonoc@gmail.com'
},
},
{
id: 3,
title: 'Normalizing the state shape',
author: {
id: 1,
name: 'Iago Dahlem Lorensini',
email: 'iagodahlemlorensini@gmail.com'
},
},
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment