Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(fix): do not error if 'window' is undefined
- in certain environments like Node, 'window' will not be defined and so will cause mst-persist to error out on its check for localStorge, even if a different storage engine were configured - this fix enables usage in Node environments, supporting usage like hydrating server-side
- Loading branch information