How to customize interpolation rendering in Vue 3? #12879
Unanswered
rick-hup
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
React Example
In React, components can handle children rendering directly:
Current Vue Behavior
In Vue 3, interpolation is always compiled to
_toDisplayString
:Question
Is it possible to achieve similar behavior in Vue where components can control how interpolated content is rendered?
For example, I'd like to do:
Any suggestions or insights would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions