We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initialValue
From my example:
export const store = arrayStore<StoreType[]>({ storeName: STORE_KEY, persist: true, noDuplication: true, initialValue: [ { name: 'Example', id: uuidv4(), modifiedAt: Date.now() } ], browserStorage: 'indexedDB' });
Not setting the initialValue to the storage makes the id and modifiedAt change each time the store starts.
id
modifiedAt
The text was updated successfully, but these errors were encountered:
No branches or pull requests
From my example:
Not setting the
initialValue
to the storage makes theid
andmodifiedAt
change each time the store starts.The text was updated successfully, but these errors were encountered: