Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programmatic binding vs reactive binding #59

Open
danieldietrich opened this issue Feb 20, 2022 · 0 comments
Open

Programmatic binding vs reactive binding #59

danieldietrich opened this issue Feb 20, 2022 · 0 comments
Labels
🚀 enhancement New feature or request ⃝ medium-priority This can be solved later

Comments

@danieldietrich
Copy link
Owner

Candid is 100% pure web. It does not ship with an HTML Template engine or with compiler-supported variable bindings.

✅ Candid

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).

❌ Not Candid

However, it would be good to have 3rd party template engines in mind, like Lit or even JSX.

JS API

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
@danieldietrich danieldietrich added 🚀 enhancement New feature or request ⃝ medium-priority This can be solved later labels Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 enhancement New feature or request ⃝ medium-priority This can be solved later
Projects
None yet
Development

No branches or pull requests

1 participant