Replies: 2 comments 7 replies
-
Thank you for the idea. I have glanced through the syntax of the Could you please describe the reason why you think |
Beta Was this translation helpful? Give feedback.
-
In addition to what @futursolo has said, we also have syntax that syn-rsx doesn't support, such as dynamic tags and setting to properties. It also does not support components It's totally possible to build another crate that provides a macro for Yew using syn-rsx. It wouldn't be part of Yew though |
Beta Was this translation helpful? Give feedback.
-
syn-rsx: https://github.com/stoically/syn-rsx
If compile time is a concern, use Cargo feature flag.
The syntax of
syn-rsx
may not be backward compatible with the currenthtml!
syntax, if that's really the case, create a new macro (calledrsx!
or something).Beta Was this translation helpful? Give feedback.
All reactions