Open oliverbutler opened 3 years ago
Look into https://github.com/paularmstrong/normalizr
Redux stores pages as an array of blocks with no children To query a pages children we currently just filter all pages, this has some benefits
Work out how best to store, in a normalized way:
Ideally - we want no duplication of data.
Using a normalized tree structure in redux would also enable ordering of children, a current flaw with the existing implementation.
This is a high priority fix.
Look into https://github.com/paularmstrong/normalizr
Currently
Redux stores pages as an array of blocks with no children To query a pages children we currently just filter all pages, this has some benefits
Proposed
Work out how best to store, in a normalized way:
Ideally - we want no duplication of data.