Other
There are some auxiliary hooks that you may use:
useNilPoolStatus
Pool Status refers to the preprocessing pool's status. A simple call to the hook should provide their status.
examples-nextjs/app/components/pool-status.tsx
loading...
useNillion
This hook gives all access to the aforementioned properties of all of hooks.
import { useNillion } from "@nillion/client-react-hooks";
...
const nillion = useNillion()
...
nillion.client.XXX // whatever you want to use from the client.
Below is the source code for refernce
client-react-hooks/src/use-nillion.ts
loading...