Programmatic binding vs reactive binding
danieldietrich opened this issue · comments
Candid is 100% pure web. It does not ship with an HTML Template engine or with compiler-supported variable bindings.
Such reactivity would look like this but it would be a first step to a framework that re-invents the wheel (known from React, Vue, Svelte and also not-so-well-known like Aurelia).
However, it would be good to have 3rd party template engines in mind, like Lit or even JSX.
But these may change over time. Relying only on vanilla HTML/JS is the most flexible and unopinionated approach. It is most important to get the API right (see #55):
- how do we use
this
(in a script)` - would it make sense if a component would expose the (internal) state? security aspects?
- we need to get web API vs JS API right