Tao Xin
Tao Xin
Hi @tracker1, With VanJS's builtin state management, you can build your app based on a single global state. Here is an example (state persistence is supported as well): https://vanjs.org/demo#todo-app
Closing the issue as the example is provided in https://github.com/vanjs-org/van/issues/12#issuecomment-1742201991.
Closing this PR as #18 is already fixed.
Thank you for raising this issue again! I will explore options and find a suitable way to get it resolved.
Thank you for your feedback! I apologize for not being aware of the custom element feature in web standards when VanJS was developed. Extending VanJS to support custom property types...
I started a new thread : #37 Maybe we can discuss there.
Hi @OFurnell, In [0.12.0](https://github.com/vanjs-org/van/discussions/53) we changed the way of when to set `prop` value via property or via `setAttribute`, see the current [code](https://github.com/vanjs-org/van/blob/main/src/van.js#L63). Not sure if it can solve the...
Hi @sekoyo, Though not officially tested, I believe it should be possible. You can try it out to see if it works.
The support for custom event handers was added in 1.2.8: https://github.com/vanjs-org/van/discussions/246.
@all-contributors please add @sekoyo for bug