brunnerh

Results 329 comments of brunnerh

`flip` does not do what it is supposed to do, though. Do we need a separate issue for that? (There are still a few open ones in the area of...

#11208 fixes FLIP, but now stuff overlaps again on outro (i.e. it is as broken as it was in v4). > - Adjacent elements that transition out at the same...

(Please use the preview REPL if a reproduction does not need SvelteKit or SSR.) [REPL](https://svelte-5-preview.vercel.app/#H4sIAAAAAAAACpVTTYvbMBT8Kw81YKe4VnpoD26ctBR66aFb2FscWFV-SdS1Za_0nBCM_3uR_LEOu9AWg_U1b0aakVp2UAValuxapkWJLGFf6ppFjK61G9gzFoQsYrZqjHQzayuNqmmT6YxUWVeG4E4cEQ6mKiGIuRvEfVnwaQZqfzZorl8LhZoimA3uTHVWOZpuoPhMQlsS8pH3LO-eHDbItCOTlbYE0hdCChovc6qwdRj35XgQTUE_alKVtglMCxk5OoW3cxlZEgXeqxITeL9areAtfHS_D8-YbuwOnW6Z6TV_dkOvXzkUtP1eO-_X2jvFN67wFfAm0yxiZZWrg8KcJWQa7KIpGFf8D8lAIfQxzRjZjM1TaqVBQeh1I_CmDvb8h_NHdLvNG0kWUggtCiNPS0g3N4RjDn7uO14T2AX1UBZE0Fftoxnom05A2KuWEHq2KZte1qCTExehCA5I8hQ-nIhqm3CeN2V5_W0rHcuq5KMK7zW2T-mi7bvdw_KWMxckJlKDNnYk4QQySI3RHhWPrEPwrnHpu7ZAGs4DKQQBcA73J2XhUplHj18kvTWQwiyAcGbk6OLAyDnckC4sCcIwCJYTeV6h1QEN6P44o8giR6POmId_U3txfZWuG4JfSufJWRQNpqNz_sZmet0U_j61b1DIEyy8Yuxt3G5htwdhYXBqeCLrQm1GP9thKSZFBY4APiBa7jg7tyWv8vId7Ls_dg6Y16wEAAA=)

The API currently expects a store for reactivity, so converting accordingly would work: ```js const query = createQuery(toReadable(() => getProducts(search))); ``` ```js function toReadable(cb) { const store = writable(); $effect.pre(()...

Probably a duplicate of: - #9309 If you have dependencies in an asynchronously executed bit of code, evaluate them at the start of the effect. In case this is not...

> Callbacks, if blocks, try catch, ternaries, switch statements, labels, all of these can cause the same problem For most of those it's a *feature*. The effect only reruns if...

Related: - #9357 - #7265

That would essentially be coarse grained reactivity (so maybe: `$state.coarse`), where any assignment to the variable or one of its (potentially deeply nested) properties invalidates the entire object. Suspect that...

That's invalid syntax, the types just come from inference based on the assigned value. You can do [something like this](https://www.typescriptlang.org/play/?filetype=js#code/PQKhCgAIUgBAXAngBwKaQN4ajSA7AQwFtUAuSAZ3gCcBLPAcwBodJICGz8BXIgI1TUW0NgBMC8LgBEJqYTAC+CnMHAAbVPEz5iXAGbc1awiSbtOZ8ZMgLIAXkgASZNQD2yCgAoAlAG5w4ADGrngUrhoAdGquDJ4GRiao3gGgMLDUmtzUoZgEeIi2IKoGeIHwtCFOLu5e3trKQA): ```js /** * @type {{ * name: string, * age:...

There is a problem here with hydration. If the SSR generates a table that looks different than the DOM that browser creates via the normalization (e.g. adding a missing `tbody`),...