btroncone / ngrx-store-localstorage

Simple syncing between @ngrx store and local storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rehydration callback

szwowo opened this issue · comments

Hello,

I have an app, where user is sending his availability. I have used Effect to ping user availability in time interval.
After refreshing the page I am reading user state from local storage and I want to start the Effect based on the loaded user state.

So basically I need an Action that tells "rehydration done" with user state.

How I can achieve something like this?

Thanks :)