When using simple storage to save your current form state you probably don't want to persist forever. It would be great if I could pass a prop so the stored state expires if it hasn't been updated for x minutes/seconds. On page refresh it should ignore the locally stored data, use the default state instead and clear the locally stored data.
When using simple storage to save your current form state you probably don't want to persist forever. It would be great if I could pass a prop so the stored state expires if it hasn't been updated for x minutes/seconds. On page refresh it should ignore the locally stored data, use the default state instead and clear the locally stored data.