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:
1 parent
8bf1c38858
commit
44db8ff022
4 files changed
+810
-400
No files matched your search
+783
-399
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user