Add state management and SDK interactions using Para’s React hooks
ParaProvider
. This provider gives your components access to
Para’s hooks and state management.
useQuery
hook and return the
same structure as the React Query hooks.
useMutation
hook and
return the same structure as the React Query hooks (see the note below). NOTE Our hooks return mutation functions
named specifically for their mutation action. For example,useCreateUser
returns both createUserAsync
and
createUser
rather than the mutateAsync
and mutate
functions that React Query returns, these functions are
identical to their React Query counterparts.
ParaProvider
can work with our External Wallet Connectors to provide wallet connection. An example using our Para
EVM Provider is shown below: