- Redux Quick Start Guide
- James Lee Tao Wei Suresh Kumar Mukhiya
- 58字
- 2021-07-02 12:40:32
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;
推薦閱讀
- Linux核心技術(shù)從小白到大牛
- Java從入門到精通(第4版)
- Neo4j Essentials
- Visual C++串口通信技術(shù)詳解(第2版)
- 全棧自動(dòng)化測(cè)試實(shí)戰(zhàn):基于TestNG、HttpClient、Selenium和Appium
- Android傳感器開發(fā)與智能設(shè)備案例實(shí)戰(zhàn)
- Image Processing with ImageJ
- Julia數(shù)據(jù)科學(xué)應(yīng)用
- Software Development on the SAP HANA Platform
- Getting Started with JUCE
- 算法精解:C語言描述
- Android開發(fā)進(jìn)階實(shí)戰(zhàn):拓展與提升
- 輕松學(xué)Scratch 3.0 少兒編程(全彩)
- Visual FoxPro程序設(shè)計(jì)實(shí)驗(yàn)教程
- Slick2D Game Development