Creating a Root Store

In src/state/index.ts:

import { rootStore } from "@wire-ts/wire";
import todos from "./todos";
// import all your other stores here
const state = rootStore({
todos,
});
export default state;