You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use $$props (or $$restProps) in a reactive statement/block then svelte uses exclude_internal_props to exclude internal stuff like $$slots and $$scope. However, there are two issues with this:
This only seems to apply to updates, on the initial mount $$props includes everything.
If the application tries to use a prop name like $x then the prop doesn't show up in $$props and $$restProps (except on the initial mount).
Ideally it would seem that svelte should be passing internal stuff around as a separate argument so that it's not mixed with the props in the first place. That would avoid having to run this exclude at all, which would fix this confusion and might help with some of the performance implications of using $$props?