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

Add more details to spread props note section #648

Open
toocomputer opened this issue Aug 30, 2024 · 0 comments
Open

Add more details to spread props note section #648

toocomputer opened this issue Aug 30, 2024 · 0 comments

Comments

@toocomputer
Copy link

toocomputer commented Aug 30, 2024

The Note section on the spread props page mentions $$props, but that concept isn't discussed prior to that point, so it would be helpful to users to describe what it is before mentioning its use case.

The note says "...you can do so by accessing $$props directly", but if the user doesn't even know what $$props is how would they know how to access it?

The user shouldn't have to look at an outside resource to learn that "$$props is an internal variable that holds all the props received by a Svelte component".

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

No branches or pull requests

1 participant