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 ๐
protip: you can call it state-of-the-art literature review instead of adhd and suddenly you look like a nerdy scientist ๐คโ๏ธ
0 reposts1 like