- Perf: Only synchronize storage on unmount.
- This saves a lot of stringify / localStorage churn by only saving when we must.
- This has a semantic change; state is not synced as often and we can no longer throw errors if you have a key collision, so this is a major update.
- Rework testing with Jest.
- Small performance fix in
stateFilterKeys
iteration. - Updated development dependencies.
- Allow setting
props.localStorageKey
as a function. It will be called with the component asthis
. - Allow setting
false
(or a function that returnsfalse
) to shut off the mixin.
(History before 0.2.9 was not written here, see the Git log)