import { createStore } from "https://deno.land/x/jotai@v2.7.2/src/vanilla/store.ts";
Create a new store. Each store is an independent, isolated universe of atom states.
Jotai atoms are not themselves state containers. When you read or write an atom, that state is stored in a store. You can think of a Store like a multi-layered map from atoms to states, like this:
// Conceptually, a Store is a map from atoms to states.
// The real type is a bit different.
type Store = Map<VersionObject, Map<Atom, AtomState>>