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>