Extend Zikojs Addons to Vanjs #398
zakarialaoui10
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m developing a frontend library called Ziko.js and have created several addons for it. Since Ziko.js and VanJS share a similar approach with hyperscript and declarative UI, I’ve found that some Ziko.js addons are also compatible with VanJS.
Note
VanJS elements are direct DOM nodes, while Ziko.js elements are objects that include a DOM node getter along with additional features.
I’m considering extending two Ziko.js addons, but I’m unsure if they should be named van-[something] or [something]van.
This would involve creating new packages built on top of the existing ones,
Or could the same packages be used with VanJS through a simple configuration without creating a new ones?
Like this :
This will give you the ability to integrate VanJS elements into other environments, such as React, Svelte, Solid, Vue and Preact
In this case, I'm wondering whether I should include a VanWrapper inside the package itself, or create a new package built on top of this one that includes the "van" prefix.
Beta Was this translation helpful? Give feedback.
All reactions