#NGRX Store Architecture Question

4 messages · Page 1 of 1 (latest)

neat field
#

iirc ngrx/data does that?

#

(never used it)

#

Apart from that it's just store slices

alpine blade
#

One store has items: Item[] the other has tasks: Task[]
One reducer has updateModifiedDate which sets that date on an item
The other has setTaskComplete which marks a task as complete

all tasks are items though and I need to operate on them as items generically, as well as specifically within the scope of them being a task

Don't know if that clears it up a little - I know it's not a good idea to copy part of the items state into another store right?