February 2019
Intermediate to advanced
204 pages
4h 52m
English
We used a history object in app.js. We can create history.js inside of the utils folder and create an instance of history. You can learn more about history from https://github.com/ReactTraining/history. In a nutshell, the history library manages the session history everywhere that JavaScript runs:
import createHistory from "history/createBrowserHistory";const history = createHistory();export default history;
Read now
Unlock full access