Skip to main content

createCookie

还没翻译译自英文(reactrouter.com)本页 14 段都还没译

createCookie

Framework Data

Summary

Reference Documentation ↗

Creates a logical container for managing a browser cookie from the server.

Params

name

The name of the cookie.

cookieOptions

Options for parsing and serializing the cookie.

Returns

A Cookie object for parsing and serializing the cookie.