In Vanilla scenarios, please import all APIs from /vanilla to avoid errors due to dependencies on React without it being installed.
Create a Store without Hooks properties, suitable for Vanilla JS applications. It includes built-in enhancers withSubscribe and withSnapshot.
Before version v0.2.0, the Vanilla part of createVanilla was known as create. To avoid confusion with the React part's create, it was renamed to createVanilla starting from version v0.2.0.
Identical to store.mutate in create.
Identical to store.snapshot in create, supported by withSnapshot.
Identical to store.subscribe in create, supported by withSubscribe.
Identical to store.restore in create.