Method for rendering and incrementally updating webpages
A web page and node technology, which is applied in network data retrieval, network data browsing optimization, program control design, etc., can solve the problems of slow initial page loading, difficulty in partial update, and increase the amount of code, so as to avoid attribute name conflicts, The effect of updating the algorithm to simplify and reduce the amount of code
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0030] The present invention will be described in detail below in conjunction with the examples.
[0031] 1. The form of virtual DOM
[0032]In the present invention, the virtual DOM is represented by a simple JavaScript object (PlainJavaScriptObject), such as a virtual DOM tree:
[0033]
[0034]
[0035] It corresponds to the following HTMLDOM tree:
[0036]
[0037] It can be seen that the virtual DOM tree is a simple JavaScript object, which can be created with object literals. Each object corresponds to an element in the actual DOM, and child nodes are listed through the Kids property. The meanings of various properties of virtual DOM are as follows:
[0038] (1) Name: The element name corresponding to HTML, SVG or MathML.
[0039] (2) Kids: The child node list is an array, and its members are either a DOM tree or a string; the string corresponds to the text node in the actual DOM.
[0040] (3) Attributes starting with '' are mapped to HTML / XML attributes (r...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com