Creates a tree-shakable store.
const store = treeshakable('my-store', () => createStore(...)); Copy
const store = treeshakable('my-store', () => createStore(...));
The type of the store
A unique key for the store
A function that creates a new store
A tree-shakable store
Creates a tree-shakable store.
Example