Skip to content

Conversation

@jasonlyu123
Copy link
Member

#647
We might have to try finding a way to typecheck it later. Currently can't tell if that's a binding or normal props.

@dummdidumm
Copy link
Member

dummdidumm commented Nov 2, 2020

Do you remember why we originally did not mark these as possible props? EDIT: Ok I guess precisely because they are not valid input props, and only valid binding props?

@jasonlyu123
Copy link
Member Author

Yeah, I guess it's because of the warning if you use it as a input props. Doesn't know it can be binded, didn't see it on the docs.

@dummdidumm
Copy link
Member

This and the if-scoping feels to me like the "convert to JSX"-approach has some limitations we increasingly have to hack around against. Not sure if we have good alternatives though.

@dummdidumm dummdidumm merged commit 09dd498 into sveltejs:master Nov 2, 2020
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.

2 participants