# next-cookies **Repository Path**: mirrors_developit/next-cookies ## Basic Information - **Project Name**: next-cookies - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2025-12-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Next Cookies Tiny little function for getting cookies on both client & server with next.js. This allows you to set the cookie client-side, but perform server-side rendering of your components. ## Example ```js export default class Me extends Component { static async getInitialProps (ctx) { const { token } = cookies(ctx) } constructor (props) { super(props) this.state = {} } render (props) { return (