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

Improvement for documentation #14716

Open
AlexRMU opened this issue Dec 15, 2024 · 2 comments · May be fixed by #15257
Open

Improvement for documentation #14716

AlexRMU opened this issue Dec 15, 2024 · 2 comments · May be fixed by #15257

Comments

@AlexRMU
Copy link

AlexRMU commented Dec 15, 2024

Describe the problem

  • how JS expressions are converted to a string in markup (about the fact that it is simply converted to a string, you can use toString, undefined and null become an empty string, what about the attributes)
  • when a prop is set to the default value (if the value is undefined or not specified, about $bindable, does the expression run every time)

Describe the proposed solution

I would like to see these important details written about in the documentation.

Importance

nice to have

@melihguleyupoglu
Copy link

Hey, I'd like to work on this issue. I'll investigate how attributes and props behave in these cases and then propose a documentation update. Let me know if you have additional questions.

@melihguleyupoglu
Copy link

I have opened a PR to address this issue: #15257

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants