ngneat/elf

preStoreInit don't update with 'localStorageStrategy'

Closed this issue · 1 comments

Which @ngneat/elf-* package(s) are the source of the bug?

store, requests-data-source, persist-state

Is this a regression?

No

Description

As in title - when I use preStoreInit method with storage: localStorageStrategy - "new" overrided values don't also update on localstorage. I must manually invoke update method in preStoreInit (but also in hacky-way, inside setTimeout).

image

You're welcome to create a PR