I have fixed persist options.
Before that, the 'none' option was not working. Now, when 'none' option is passed the state is not being saved to any store in action handler.
I have introduced PersistOption enum for better DX but string literals are also available for backward compatibility.
I have fixed persist options. Before that, the
'none'
option was not working. Now, when'none'
option is passed the state is not being saved to any store in action handler.I have introduced PersistOption enum for better DX but string literals are also available for backward compatibility.
I have also updated the store factory options type so it's less hacky.
Locally everything seems to work correctly