API Reference
Generated from the type declarations published with the package.
createStorage
Parameters:TypedStorage
createCookieStore
Parameters:| Name | Type | Default |
|---|---|---|
schema | SEach cookie and how its value is stored (see string, number…) | |
options | CreateCookieStoreOptionsDefault cookie attributes, |
CookieOptions
useItem
From parsistent/react.
| Name | Type | Default |
|---|---|---|
store | AnyStore<S> | |
key | K |
[value: inferValue<S[K]>, setValue: (action: SetItemAction<inferValue<S[K]>, inferInput<S[K]>>) => void]CookieProvider
| Name | Type | Default |
|---|---|---|
cookies | CookieRecordRequest cookies, from | |
children | ReactNode |
Value
Last updated on