State
Files containing state for the dApp are located in the src/recoil
folder. Y-Foundry uses the Recoil state management library.
Import
import { useRecoilState, useRecoilValue, useRecoilValueLoadable } from 'recoil';
Files containing state for the dApp are located in the src/recoil
folder. Y-Foundry uses the Recoil state management library.
import { useRecoilState, useRecoilValue, useRecoilValueLoadable } from 'recoil';