Akita Global UI State equivalent for entities store ? #502
Replies: 1 comment 1 reply
-
const myStore = createStore(
{ name: 'mystore' },
withProps<UIProps>({ open: false }),
withEntities()
); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
BriceN
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I'm slowly but surely migrating from Akita to Elf. Let's say that I have a Todo entities store, how can I extend this store to also keep a global ui state (not attached to every todo), like this example from Akita's documentation : https://opensource.salesforce.com/akita/docs/ui#global-ui-state
The only thing I could find in Elf's documentation was this : https://ngneat.github.io/elf/docs/features/entities-management/ui-entities, but the UI state is per entity and not global.
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions