#Best practices / patterns on xstate/store

1 messages · Page 1 of 1 (latest)

sudden bone
#

Hey all! I'm wondering is there are any resources for established best practices with Store?

I'm wondering what's the recommended approach for stuff like shared ui state (e.g. selected items in a collection, keyboard navigation state, etc.) vs main data store.

My gut instinct is to create atomic stores for each concern but would like to know what you guys recommend.

Thanks so much!

blissful dragon
#

Yes, you'd create actors (stores) for each concern 👍

#

Same approach as Zustand or Redux