Types of router
There are 3 types of router Memory Router 2.Hash Router 3. Browser Route 1.Memory Router: keeps url changes in memory, not in the browser.It doesn’t change URL in the browser while it keeps history of URL in browser.Used in React-Native. import React, { Component } from “react”; import { MemoryRouter as Router, Route, Link, Switch, …