Kubb
Skip to content
Kubb
DOCS
Docs
Extensions
Resources
Updates
Studio launches Nov 5
Search…
⌘
Ctrl
k
Search…
⌘
Ctrl
k
Sponsor
Open Studio
Extensions
Plugins
SWR
How-to guides
SWR
Official
v5.9.4
@kubb/plugin-swr
$
kubb add plugin-swr
kubb add plugin-swr
Overview
How-to guides
2
Options
Changelog
Report issue
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.