Skip to content

Add SVG support to dynamic rendering. - #99

Merged
koculu merged 1 commit into
mainfrom
feature-dynamic-binding-for-svg-elements
Oct 12, 2026
Merged

koculu merged 1 commit into
mainfrom
feature-dynamic-binding-for-svg-elements

Conversation

@koculu

@koculu koculu commented Oct 12, 2026

Copy link
Copy Markdown
Member

Summary

Add SVG support to dynamic rendering.

Changes

  • Extract existing SVG element creation into a shared createElement helper.
  • Reuse it in toFragment, dynamic mounting, and is="r-*" conversion.
  • Create SVG elements with their namespace and correct tag casing, including foreignObject and linearGradient.
  • Let the mounting helper accept both HTML and SVG elements.

@koculu
koculu merged commit d06f4b7 into main Oct 12, 2026
1 check passed
@koculu
koculu deleted the feature-dynamic-binding-for-svg-elements branch October 12, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant