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

Determine correct API for components using Svelte's recommendations #4

Open
sureshjoshi opened this issue Dec 6, 2024 · 0 comments
Milestone

Comments

@sureshjoshi
Copy link
Member

https://svelte.dev/docs/svelte/$props#Updating-props

In summary: don’t mutate props. Either use callback props to communicate changes, or — if parent and child should share the same object — use the [$bindable](https://svelte.dev/docs/svelte/$bindable) rune.
@sureshjoshi sureshjoshi added this to the 2.2.0 milestone Dec 11, 2024
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