7nik
7nik
I guess [this is the same bug](https://svelte.dev/playground/dec1b43d47eb4c3aa729291f91ab8a39?version=5.28.2#H4sIAAAAAAAAA32RTW6DMBCFrzJyukiUCpotBaKqxwhZOGaSWnENsgfSyOLuHfOjtFLVBR7z5nvDswnCyk8UmajR6R5rsA1B19aStL2IZ3HWBr3IDkHQvY1cFFifXW9tm_geDUXtJD3-pavGElriMSL3yumWyspWpIz0Ht6bjrsOQpQqWiko4MmTJFxvXieN_Z5cp6hx680CVkQf2ifM7_cFhF6aDF6GqTcXbVXkYQYTZmBbwA7m_gUJWBsZh9Q5-wsdqbhwMYyqOWkBFm9L7jlk7F_x_si-i3qePo5rwyoC_Ixz81NH1FhorDJaXYvAKYpy-UYyRh9KLnk6keU_Lh663Y60i_uflmhqyz6DQ1hm89mGY5623A7plId_EuEXiYyvGYcjv0ltbtrWIjtL43H4Biezp6wnAgAA). Though it doesn't work on 7958eb7 too (but the output is slightly different).
IIRC, in dev mode for the sake of HMR, styles get appended with `* {}`, plus there is no special handling for `svelte:head` or head elements.
I checked out the Ouverture.svelte and saw four components stuffed up into one file. If multiple cases require barely related logic, markup, and styles, then they should be implemented as...
A.1 Many projects were started as pet projects, and then other people came to fix something or add a feature. The more code follows common and good practices, the easier...
> > A.1 Many projects were started as pet projects, and then other people came to fix something or add a feature. The more code follows common and good practices,...
`name instanceof Proxy` won't work because Proxy has no prototype to compare with. If some code cannot accept proxies, as said @Ocean-OS, just do `$state.snapshot` - it will unproxify the...
> Svelte makes the `defaultState` prop into a `$state()` Note, proxy is created only in two cases: (1) using `$state()` and (2) assigning to the proxied object or its field:...
Does `@debug` has any advantages over `$inspect`?
1. Looking at all those `$inpect` problems due to being sync, would it make sense to add `$inspect.lazy`? 2. You can do ```js $inspect(foo).with((...args) => { console.log(...args); debugger; }); ```
It [looks](https://bugzilla.mozilla.org/show_bug.cgi?id=904846) [like](https://bugzilla.mozilla.org/show_bug.cgi?id=1165167) [a bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1103011) [in](https://bugzilla.mozilla.org/show_bug.cgi?id=885406) [Firefox](https://bugzilla.mozilla.org/show_bug.cgi?id=1625298), though this doesn't happen in Svelte 4.