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

System for realizing modular packaging processing of bundle in ReactNative framework

A modular and framework technology, applied in the field of mobile apps, can solve problems, complex efficiency, and the complexity of ReactNative packaging process, etc., to achieve the effect of improving collaboration ability and startup speed

Pending Publication Date: 2021-01-05
PRIMETON INFORMATION TECH
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Under the existing technology, the packaging process based on ReactNative is relatively complicated, and the packaged product is also relatively large, which greatly limits the startup speed of the first screen of the App, and is not conducive to the hot update of the application.
The existing subcontracting scheme also modifies the ReactNative source code too much. When using the diff-match-patch tool, the logic of loading the business patch package will inevitably become more complicated and there are also efficiency problems, which is not conducive to the continuous implementation of the ReactNative technology stack.

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
  • System for realizing modular packaging processing of bundle in ReactNative framework
  • System for realizing modular packaging processing of bundle in ReactNative framework
  • System for realizing modular packaging processing of bundle in ReactNative framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to describe the technical content of the present invention more clearly, further description will be given below in conjunction with specific embodiments.

[0028] The system for implementing bundle modularization packaging in the ReactNative framework of the present invention includes a module definition module, which is used to modify the module identified by a digital id to be identified by a string with business meaning;

[0029] The main bundle compilation module is connected with the module definition module, and is used to package the ReactNative basic components and project codes into bundle files, which are respectively the main bundle package file and the project package file;

[0030] The project file compilation module is connected with the main bundle compilation module, and is used to generate a corresponding bundle compilation product for each file when compiling a large number of project files;

[0031] The js module is loaded in a synchronous m...

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 invention relates to a system for realizing modular packaging processing of a bundle in a ReactNative framework. The system comprises a module definition module used for modifying the module identified by a digital id to be a character string with business meaning for identification; a main bundle compiling module used for packaging the ReactNative basic component and the project code into a bundle file; a project file compiling module used for generating a corresponding bundle compiling product for each file; a synchronous mode loading js module used for directly calling pmRequire in a jsenvironment to dynamically load js files in a local file system; and a file loading module used for loading the main bundle generated by packaging and loading the js file of the compiled product according to the configuration in the client. By the adoption of the system for achieving modular packaging processing of the bundle in the ReactNative framework, the bundle of the ReactNative framework is split into the main bundle and the project bundle, and the project bundle is split into the single-page bundle based on the project directory structure.

Description

technical field [0001] The present invention relates to the field of mobile Apps, in particular to the field of developing Apps based on ReactNative, and specifically refers to a system for realizing bundle modularization packaging processing in a ReactNative framework. Background technique [0002] In the era of mobile Internet, the development efficiency of mobile applications is also one of the important competitiveness of enterprise development. As Facebook's open source cross-platform application development framework, ReactNative is favored by many large companies. ReactNative does not use traditional Webview rendering, but a combination of JS bridging and Native bridging. What ReactNative produces is not a web application, but a real mobile application. ReactNative uses JSX and CSS to develop, and the learning cost is greatly reduced compared with Android and iOS. At the same time, its bundle compilation mechanism also makes it more convenient to apply in the hot up...

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/41G06F8/71G06F8/73G06F16/16
CPCG06F8/41G06F8/71G06F8/73G06F16/16
Inventor 范岗民刘磊刘相
Owner PRIMETON INFORMATION TECH
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