官术网_书友最值得收藏!

Creating utilities

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;
主站蜘蛛池模板: 全南县| 台山市| 房山区| 峨眉山市| 乐昌市| 上饶市| 盐城市| 海安县| 东丽区| 怀仁县| 彰化县| 昌都县| 西林县| 逊克县| 丰宁| 垫江县| 廊坊市| 始兴县| 玉树县| 平果县| 德兴市| 什邡市| 道孚县| 抚远县| 澄城县| 当涂县| 平和县| 金门县| 泰来县| 嘉荫县| 漳州市| 阿拉善右旗| 松江区| 长岛县| 新疆| 门头沟区| 辽中县| 铜山县| 改则县| 镇远县| 株洲县|