+ *eval="expression"
+
+ Evaluate a JavaScript expression in the context of the element.
+
+
+
+
+
+
+
+ Usage of this directive is discouraged and it is recommended to use alternative directives whenever possible for improved maintainability and security reasons. It is nevertheless still offered to help covering edge cases.
+
+
+ It is executed after the element and all of its children have been completely processed.
+
+
diff --git a/@mizu/eval/mod.ts b/@mizu/eval/mod.ts
new file mode 100644
index 0000000..7c5929a
--- /dev/null
+++ b/@mizu/eval/mod.ts
@@ -0,0 +1,31 @@
+// Imports
+import { type Cache, type Directive, Phase } from "@mizu/mizu/core/engine"
+export type * from "@mizu/mizu/core/engine"
+
+/** `*eval` directive. */
+export const _eval = {
+ name: "*eval",
+ phase: Phase.CUSTOM_PROCESSING,
+ init(renderer) {
+ renderer.cache