Extremely cursed: if you abuse Vue internals hard enough, you can build a component that "morphs" as either a Vapor component or a vdom component depending on the rendering style of the parent 🤪 Vue.js Playground
Post
well that was kinda the idea I had in mind with this little "experiment" 🤪 I'm a bit concerned about compat with component libs, and the cost of interop doing vdom -> vapor -> vdom 🤔 but that thing is *really* hacky. there are other ways to do it using undocumented exports from "vue" as well 😋
0 reposts0 likes