score:0

Accepted answer
import Cookies from 'js-cookie';

class SomeComponent extends Component {

    constructor(props) {
        super(props)
        this.state = {
            email: "",
            password: "",
            cookie: Cookies.get('authToken')
        }
    }
 }

Related Query

More Query from same tag