All non proc-macro related code is in /maple-core
.
Proc-macro related code is in /maple-core-macro
.
-
- All the reactivity primitives are defined in
/maple-core/src/reactive.rs
. create_effect
is called by the internal DOM utilities in/maple-core/src/internal.rs
.
- All the reactivity primitives are defined in
-
- The template macro is defined in
/maple-core-macro/src/lib.rs
. - Different DOM nodes are defined in separate files under the same directory.
trybuild
is used for testing proc-macros.
- The template macro is defined in
-
- Components are just functions! There is no special code for handling components at runtime.