Integrate reactive rendering into _emit_if()

Modified _emit_if() to:
- Create marker node via js_create_marker()
- Append marker to parent element
- Store marker ID in global
- Call _init_conditional_X() to render and insert active branch

Branch render functions work correctly:
- Build element tree locally
- Return root element ID
- Called by init function to pre-render all branches

Fallback to _emit_if_static() if conditional not collected.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Aaron SinclairandClaude committed 2025-11-15 03:53:38 -08:00
1 parent 8bf1c38858
commit 44db8ff022
4 files changed
+810 -400

No files matched your search

+783 -399
View File
File diff suppressed because it is too large. Load diff