jaredpalmer / formik-persist

💾 Persist and rehydrate a Formik form to localStorage
MIT License
377 stars 56 forks source link

`isSessionStorage` prop doesn't work #29

Open talor-hammond opened 4 years ago

talor-hammond commented 4 years ago

Hey there, isSessionStorage prop doesn't work (stuff is still being set in localStorage) -- have provided in my app like so:

 <Persist
    name={withdrawalFormName(investmentId)}
    isSessionStorage // ...here
  />

I noticed the PR for this prop had been merged, but the latest version was before that change..?

anujsachan1990 commented 4 years ago

https://github.com/jaredpalmer/formik-persist/issues/24 there is already an open issue