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

[Doc] Have doc to clarify the difference among binding usages #1565

Open
bigopon opened this issue Sep 17, 2022 · 0 comments
Open

[Doc] Have doc to clarify the difference among binding usages #1565

bigopon opened this issue Sep 17, 2022 · 0 comments
Assignees
Labels
Docs Documentation needs to be added/improved/corrected
Milestone

Comments

@bigopon
Copy link
Member

bigopon commented Sep 17, 2022

From @netcitylife at https://discord.com/channels/448698263508615178/448699089513611266/1020605793122385960

The question of binding to native element properties is very important and the logic of it should be finalised and described in detail in the docs before Beta. Current behavior is confusing a bit, I do not know exactly what would be the result of binding before actually trying it. There are several options now (considering all attributes, not just "id"):

  1. id="${prop}"
  2. id.bind="prop & attr"
  3. id.bind="prop"
    ...

... Current docs do not provide detailed information about binding logic, that should be solved first, and then its implementation may be polished. Possible performance difference is also important here. Developers should make a meaningful decision what option to use in their case.

@bigopon bigopon added this to the v2.0-beta milestone Sep 17, 2022
@bigopon bigopon self-assigned this Sep 17, 2022
@bigopon bigopon added the Docs Documentation needs to be added/improved/corrected label Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs Documentation needs to be added/improved/corrected
Projects
None yet
Development

No branches or pull requests

1 participant