rax miniapp babel plugins
npm install rax-miniapp-babel-pluginsš We can optimize the miniapp code to a greater extent by these babel plugins.
#### Native LifeCycle
In Rax miniapp runtime solution, we must know in advance which native life cycles developer has used.
In the past, we will register the entire miniapp native life cycle. This will have a certain impact on performance and even lead to memory leaks.
#### Used Built-in Components
In this solution, we have to traverse all the built-in components of the miniapp. This will have a certain impact on performance and generate a lot of invalid code. But now, we can get this information in the pre-compilation stage.
#### Used Native Component or Npm Component wrotten in native
We can get all component information in the pre-compilation stage.