7nik

Results 188 comments of 7nik

How is that `singlePageItem` used? Technically, it's very hard to completely guard it: reading `childPage` in `ChildPage` is direct reading of `currentChildPage` via a getter. So if some code triggers...

No, that PR removed event handler hoisting - making the function be shared across all component instances.

The behavior of the first block is already different in FF and Chrome. Contenteditable is painful and disappointing technology. Also, Svelte cannot get rid of the anchor markers, which are...

```svelte not rendered ``` is a valid case that renders nothing, and thus you need a marker when the element is inserted. Also, in [this example](https://svelte.dev/playground/4ef986b42c134728a92755d152eb86c2?version=5.43.7#H4sIAAAAAAAAA61UTW_bMAz9K4Q3pAmQJv3aRXFSFNuhh-1WYIemGBSbjoUqkifRSYwg_32U7KTJ0F6GnQw9Uu-RT6R3iZErTETyzaIHv0ZNKFDjCg3BAku5VtZBrooCHRTOrqD2yiyB5BK0InRS-_tkmBRKo0_E8y6hpgp8AWC8Y3-oqlFLzthCenwPz6whlmWaJPWZUxXN5mZOGokLWF_DFD57koT9wTAANyfAZG7S8dsdk1azn4pKwFVFDRhJao3QteWBSknArSFIqLTMsLQ6RzeExtaQSQOeUzMCzBXJhUYoFOrcwyZQZrXzbEldjXO7MSIdV6yYcj2wUCYXVCo_3YV695Bp6f10nhx45gl0PR4QDpKrORA73X1CmZXw4Jxs-ncDkB5-7UMghFQBIbU7zyktb48CWaB0mLeFtl2z2ElvnPSIWltWSsfl7axjHasiEu7GQXkfXOTSDxY-2g2ugy-bEk00p_YIPU2T80HpLWkCynhCmQ8PzrDra7Vk562BhUP56qF_fAHpEPyrqirMBx9bePNfLUz_mu5W5qK8vdj_q5HnjLN3nWQfn0qE3zX66IXyAthY_nIFCA59rQls8ZGv0jTd_sWibbeAMqxg2CIOOh5W3dy3PkbFUMlX9kkqg863sx7UfLjw-PTju4A4o9Drxd0aKcOJIQDT6TRu1xsUm6lmh8Hjk6dGYwRGxx3ZtfGV3F5uVE6lgC9XV9V20sKVzHMum8EjtLCO_RRwXW3BW61y-JRl2Vnw0slc1WzYXXcrPOWZ6vPJ07yM4nsJscDCumNFmdWWZU7IuwkSIIlc_4Rh8L7IKE7D6DgcHTHhli6lVksjoI29XefZiB7xby2kJSLu7gufpNIbnvJEFPzrxP0fIrTzPYEFAAA) the containers have identical...

> Sorry my bad, I overlooked that hydration markers are added in the first .editable as well. No, I added `#if` to insert comments and make HTML identical.

Such a generator is bug-prone because it returns the same object on each iteration. And thus you get what you get. For example, [`for (const [item] of Array.from(gen()))`](https://svelte.dev/playground/hello-world?version=5.43.14#H4sIAAAAAAAAA3WQz07DMAzGX8UKl5ahbRcuXZm0G-_Q9RBah0VKkyhxGVPVd8dux06gSLHy8_f5Tybl9YCqUu_oXIBrSK6HAntL2JfqRRnrMKuqmRTdougEML-7TjFu8xc6EvahM_7Fu-AJPXEZVecu2UjHswcwo-_IBg_Pn-iLEiaBAKzOBDoleINm367QhASFQwLLdH_gUMMrh83m4QPxsIEF9vCLbhZ5H06sYJbAFx9a-3DhYKRTK2xpsyYa_oGhBU6eUtK3rUlhKJZBy6XlmRZ5MNs45ksh6lIoV693jy3PfnpC3V1gXVHne91lkDoeJ3nN9S6ydtqJUvyXdHwY1wHZuCj_t_E_E36TqiiNOLf80tZdre9VZbTLOP8ARm56X-oBAAA) (basically what...

[REPL](https://svelte.dev/playground/hello-world?version=5.20.4#H4sIAAAAAAAAA41RTW-DMAz9K1bUA0gVvVNA2m3HHXYbO0Bj1khpEiUu24Ty3xcDndptlXZL7PdhP0_CdCcUpXhErS28W68lZCgVoczFVgxKYxDlyyTo0zGOC6m-sh6cK8KImrjWdwH_qh-sITSUZEQVDl45At2Zt7oVFFrRtAZAnZz1BM8YCAZvT9CKYse_VaUV-9YwUCPB0Y7oUUINm0AdYTZ0OmC-537yShLBeezkk7cuMEqiVyPKbGIEXPj8icyqdstUDVtU8wxTURRXIrGp5mkWRH8msvM01pzsOWBaDn09ZTnUDdyaJHvyZ5xni_GKo7Eb8S5n3mglNYtftbv4NilTwg8SJUvH7Z3bXMV3e5zbxj-uw6FP4HHgMHtlZNdrzPItpJR8EluCjtx1_Mzy9VobZYLDA2WJ-ztpqUZgtZKOKtRTwsQ5-G9Jjj2Bfuz7Gr8AbBlUjLUCAAA=) Looks like expected behavior. On hover, `spreadProps` becames `{ hovered: true }` and by spreading it on Test, you update _all_ props, but there is no `ref`, so it...

The reactivity stops during the outro [by design](https://github.com/sveltejs/svelte/issues/12138#issuecomment-2228837223).