Parameters
- id: number
- slice: string
- defaultValue: T | (() => T)
OptionalloadedCallback: (value: T) => void
Returns [T, Dispatch<SetStateAction<T>>, boolean]
An object with a flag indicating if the project data has been initialized, the current project data and a setter callback.
A hook for data that should be saved to the current project.