Can Mini Program render nesting?

clipboard.png

does Mini Program have such a mechanism, or is it written incorrectly? This kind of application scenario is quite common, isn"t it?


I still haven't figured out what kind of application scenario this is


does not support infinite nesting. The idea can be found in the following two implementations:
https://github.com/pacochan/w.
https://github.com/Maxwin-z/m.

.

the second is relatively clearer


Why should it be embedded? you can bind the class name ternary operator to judge

.
Menu