Method and device for updating page view based on unidirectional data flow
A technology of page view and update method, which is applied in the computer field, can solve the problems of messy data flow maintenance cost, chaotic code structure, exponential growth, etc., and achieve the effects of eliminating state shocks, reducing costs, and facilitating maintenance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0043] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Some, but not all, embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
[0044] In the embodiment of the present invention, the idea of unidirectional data flow is adopted, and the logic of view (data) update is stripped out, which is uniformly scheduled by Actors. When the user visits the page view, he sends out user interaction actions on the page, and the actions update the corresponding state data accordingly. After the state is upda...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

