You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0.2.1 switched to deep-assign which was deprecated 2 years ago (its essentially completely broken) and also doesn't handle null and undefined data types. merge-options should be used instead.
Uncaught TypeError: Cannotconvertundefinedornulltoobject(token)atassignKey(index.js?e77e:23)atassign(index.js?e77e:43)atassignKey(index.js?e77e:30)atassign(index.js?e77e:43)atdeepAssign(index.js?e77e:64)atVuexPersistence.plugin(index.js?bff2:54)ateval(vuex.esm.js?358c:351)atArray.forEach(<anonymous>)
at new Store (vuex.esm.js?358c:351)
at eval (index.js?e3b1:63)
Where the state is:
conststate={token: null}
Would also be a good idea to get a state with all 7 data types added to tests to prevent issues like this in the future
The text was updated successfully, but these errors were encountered:
wopian
changed the title
0.2.1 breaks null states
0.2.1 breaks null and undefined states
Oct 20, 2017
0.2.1
switched to deep-assign which was deprecated 2 years ago (its essentially completely broken) and also doesn't handlenull
andundefined
data types. merge-options should be used instead.Where the state is:
Would also be a good idea to get a state with all 7 data types added to tests to prevent issues like this in the future
The text was updated successfully, but these errors were encountered: