source: https://designerup.co/blog/content/images/2020/05/cover_design_system-2.jpg
"We’re not designing pages, we’re designing systems of components."
— Stephen Hay
Rabo Global Sites
App
SFC
???
Changed!
"Build components without starting a complex dev setup, force certain data into your database, or navigate around your application"
App
Frontenders
+
Designers
Chromatic
Software Engineers
SFC
App.tsx
Page.tsx
Page.tsx
Template.tsx
Organism.tsx
Molecule.tsx
Atom.tsx
Chromatic
SFC
Client
SSR/Client
API
{
itemsWithPrices: [..., ..., ...]
}
items: {
byId: {
'id1': { ... },
'id2': { ... },
'id3': { ... }
},
allIds: [
'id1',
'id2',
'id3'
]
}
selectItemsWithPrices
UI
App
App data should be stored normalized.
prices: {
byId: {
'id1': { ... },
'id2': { ... },
'id3': { ... }
},
allIds: [
'id1',
'id2',
'id3'
]
}
UI state should be derived from App state via pure Selector functions
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi nec metus justo. Aliquam erat volutpat.