skip to Main Content

How to navigate to a url in class Component – Javascript

import React, { useState, useContext, createContext } from "react"; import { Link, Redirect } from "react-router-dom"; export class Login extends React.Component { constructor(props) { super(props) window.data_login_callback = this.data_login_callback this.data_login_callback = this.data_login_callback.bind(this); } state = { brand: "" } rend(props){ console.log("ddd",props)…

VIEW QUESTION
Back To Top
Search