Skip to content
SWR logo

SWR

Officialv5.12.2

@kubb/plugin-swr

kubb add plugin-swr

How-to guides

2 guides
Call operations
Use the generated useSWR and useSWRMutation hooks, and skip or freeze a request with the Kubb options.
SWR keys
See the key each generated useSWR and useSWRMutation hook passes, revalidate with SWR's mutate, and add your own prefix to the default key.