Repository navigation
What is the purpose of VanX? #222
Replies: 3 comments 4 replies
|
|
|
I asked the same/similar question last week. I don't speak with any authority but one thing I think I've learned is that with However, with I haven't yet figured out why I need |
|
So, to be clear, VanX doesn't add any functionality, it just adds some syntactic sugar so some things require less code? |
Uh oh!
There was an error while loading. Please reload this page.
I'm confused about the purpose of VanX.
In an earlier version of VanJS, there was
van.bindwhich I used to bind an array to a repeating UI component. Then a new version came out,van.bindno longer worked, and now we have VanX.So, there's
van.stateandvan.reactive, which seems like two ways of doing the same thing.Can I still bind arrays to UI components without VanX? Is there some new way of whatever
van.bindused to do? This just seems like a pretty core use case, and I'm confused why it was moved out of the base library.All reactions