You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to keep hiccup & hiccup-svg compatible with components created for hdom, we need to update its handling of component fns and update serialize() to accept an additional / optional context arg, which is then passed to all embedded component fns as first arg (as done in hdom). Currently this is broken for components relying on the recent changes done in hdom.
Updating SVG components in hiccup-svg with the extra context arg will most likely result in breaking changes, but seemingly unavoidable and better done rather sooner than later...
The text was updated successfully, but these errors were encountered:
BREAKING CHANGE: technically identical to previous version, however
due to breaking changes and new context support in @thi.ng/hiccup,
SVG functions MUST be invoked directly now and do not support lazy
evaluation anymore. see notice in readme.
In order to keep hiccup & hiccup-svg compatible with components created for hdom, we need to update its handling of component fns and update
serialize()
to accept an additional / optional context arg, which is then passed to all embedded component fns as first arg (as done in hdom). Currently this is broken for components relying on the recent changes done in hdom.Updating SVG components in hiccup-svg with the extra context arg will most likely result in breaking changes, but seemingly unavoidable and better done rather sooner than later...
The text was updated successfully, but these errors were encountered: