Core
Get an overview of virtual DOM, diffing process, rendering, components, and single-file components.
We'll cover the following...
Before we move to the core concepts and techniques, we need to transform the output of the parsing stage to another tree-like structure.
Transformer
The transformer provides methods to transform an AST structure that is generated in the compilation stage into a virtual DOM tree structure. It will be used as input to the diffing process.
Below is the implementation of the method.
You can enter an AST object as an input at the bottom of the widget to run the code.
...