nice routing

This commit is contained in:
talksik
2022-01-31 00:00:08 -08:00
parent 16c8d26476
commit 6a349f2227
5 changed files with 38 additions and 18 deletions
+10
View File
@@ -0,0 +1,10 @@
import { atom } from "recoil";
export enum RecoilActions {
CURR_PAGE_PATH = "CURR_PAGE_PATH",
}
export const currPagePath = atom({
key: RecoilActions.CURR_PAGE_PATH, // unique ID (with respect to other atoms/selectors)
default: "/s", // default value (aka initial value)
});