angular-architects / ngrx-toolkit

Various Extensions for the NgRx Signal Store
MIT License
98 stars 16 forks source link

withStorageSync() autoSync not working when selector is provided #27

Closed Borja204 closed 3 months ago

Borja204 commented 3 months ago

When you provide a select function, it gets properly saved to the local sotrage but it gets overrided by the initial state when refreshing the app.

Not entiirely sure if its an issue of the extension but only happens when provided a select funcion.

Borja204 commented 3 months ago

My mistake, was making the slice wrong

rainerhahnekamp commented 3 months ago

Alrighty, less work for us ;)