UseCookie
🍪 React Hook for Cookies based on js-cookie 🍪
Install / Use
/learn @rrudol/UseCookieREADME
useCookie - React Hook
React Hook for Cookies based on js-cookie
Instalation
npm install @use-hook/use-cookie --save
Usage
import { useCookie } from "@use-hook/use-cookie";
function App() {
const [name, setName] = useCookie("name", "Stefan");
return (
<div>
<input
type="text"
placeholder="Provide your name"
value={name}
onChange={e => setName(e.target.value, { expires: 1 })}
/>
</div>
);
}
Example
License
Related Skills
bluebubbles
338.7kUse when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration). Calls go through the generic message tool with channel="bluebubbles".
node-connect
338.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
slack
338.7kUse when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
frontend-design
83.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
