1. Do you want to save the data of the page before the jump?
2. You can use redux, or cookie,localStorage,sessionStorage to save
http://www.lixuejiang.me/2016.
whatever the boss upstairs says is fine, but it still depends on what is used in your project. If you use redux, you'd better leave it to redux to manage
.to write several mobile pages, you need to use the components provided by ant design mobile to develop. How to use this thing, the document doesn t understand much at first and which of the two ways mentioned above should be used, ah, to find a so...
Why ReactDOM.render () cannot render after the page jumps, and it has no effect Page code after jump import React,{Component}from react ; import ReactDOM from react-dom ; import { Flex, WhiteSpace,Button } from antd-mobile ; import U98 ...
the framework of react-based ant design mobile does not write Chinese text directly in the code, so where is the Chinese text written and how should it be used? ask for advice, one for beginners ...
$( - sharpnav-tabs li ). On ( click ,function () {) $( -sharpnav-tabs li ).removeClass( active ); $(this).addClass( active ); that.currentIndex=$(this).index(); that.initTableData(); }) initTableData:function ...
items written in src in create-react-app are placed in a test folder, which can be dragged directly into routes under src in dva build environment. I dragged it in. The original css file doesn t work. What s going on? ...
for example, I have multiple interfaces, how to write ah, what the catalog is like, ask for answers ...
recently, I have been working on Mini Program, using the Mini Program development tool, which has preview and remote debugging functions, and a corresponding preview interface on the left side of the tool. But now I want to debug the real phone on my ph...
for example, when I transfer an api successfully, I have two callbacks. When the logic fails, there are also two callbacks. At this time, how to use promise to solve the callback? ...
how can I click on the transfer page to display a load rotation icon, and then render the server to complete the display? ...
problem description if there is no problem in other browsers, the QQ browser will automatically add a _ blank to me. related codes Please paste the code text below (do not replace the code with pictures) this is a screenshot of the page conso...