Skip to main content

Intercepting the store

It is possible to pass in your own store to shuttle, it will still update it and needs to conform to the following ShuttleStore interface.

import { ShuttleProvider } from "@delphi-labs/shuttle";
import CustomStore from "./store";
function App() {
return (
// Add the following prop if you want shuttle
// to use your own custom store.
<Component {...pageProps} />