Top "React-cookie" questions

Get cookie with react

I need to know if my user is connected or not. For that I want to read the cookies that …

reactjs session cookies express-session react-cookie
React: Delete cookie when user closes the browser

I'm using the library react-cookie (https://www.npmjs.com/package/react-cookie) and I want to delete the user cookies when …

javascript reactjs cookies react-cookie
react-cookie unable to set expires or maxAge

I cannot seem to set the expiration for a cookie with react-cookie... here is my setup: import { Cookies } from 'react-cookie' …

javascript reactjs cookies react-cookie
How do I get cookies in react js using react-cookie?

The react-cookie docs have this example import React, { Component } from 'react'; import { instanceOf } from 'prop-types'; import { withCookies, Cookies } from 'react-cookie'; …

reactjs cookies react-cookie