Skip to content

Conversation

Epenance
Copy link
Contributor

The current documentation has an example saying "These are equivalent" but shows the same line of code twice.

I made a small change to actually show the two lines I believe are ment to be there.

@gtm-nayan
Copy link
Contributor

Ugh, I think Prettier did this and turned everything it can into shorthands. I wonder how many others there are.

<button disabled={disabled}>...</button>
-->
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be wrong, I'll create a PR to fix this.

<input bind:value />
<!-- equivalent to
<input bind:value={value} />
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, or are you doing this to ensure Prettier doesnt pick it up?

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

Successfully merging this pull request may close these issues.

3 participants