Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

View element state management method and device, electronic equipment and storage medium

A state management and component technology, applied in visual/graphic programming, creating/generating source code, etc., can solve problems such as excessive template code, weak type support, and complex interface definition

Pending Publication Date: 2021-04-23
BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present disclosure provide a view element state management method, device, electronic device, and storage medium to overcome the technical problems of too many template codes, weak type support, and complex interface definitions in the state management framework in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • View element state management method and device, electronic equipment and storage medium
  • View element state management method and device, electronic equipment and storage medium
  • View element state management method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments It is a part of the embodiments of the present disclosure, but not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without creative work, including but not limited to combinations of multiple embodiments, fall within the protection scope of the present disclosure.

[0034] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present disclosure and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be unders...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a view element state management method and device, electronic equipment and a storage medium. The method comprises the steps: acquiring the target state behavior of the target view element, determining the target management tool according to the target state behavior in the state management library, and calling the target management tool to process the target state behavior, so as to determine a new state of the target view element. According to the state management library, the state behavior and the logic processor for processing the state behavior are combined together to form the management tool, when the state behavior is processed, the management tool is directly instantiated, state updating can be completed, state behavior transmission through a plurality of transfer modules in the prior art is not needed, and the technical problems of excessive template codes, weak type support and complex interface definition of a state management framework in the prior art are solved. The technical effects of simplifying a state management framework, greatly reducing template codes and being suitable for a Type Script type system are achieved.

Description

technical field [0001] Embodiments of the present disclosure relate to the technical field of computer and network communication, and in particular, to a method, device, electronic device, and storage medium for state management of view elements. Background technique [0002] In recent years, with the rise of single-page applications, JavaScript needs to manage more states than ever before, or data, including: server response, cached data, locally generated data that has not yet been persisted to the server, and Including UI status, such as activated routes, selected tabs, whether to display loading animations or pagers, etc., these are challenges that web development did not encounter ten or twenty years ago. Since the proportion of single-page applications with front-end rendering pages is getting higher and higher, this means that the complexity of front-end work is also rising linearly, and the information displayed on the front-end pages is increasing and becoming more ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/34
Inventor 陈勇高鑫
Owner BEIJING YOUZHUJU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products