v4.0.0-rc.2 #106
Replies: 1 comment
-
Thanks for the efforts. I'm waiting on it to see if I can add this to this table: https://github.com/WJSoftware/wjfe-dataview FYI, and maybe this is useful for you: I made a Devtools extension that tells you the number of child elements in a node, and which ones are visible. I made this to measure the potential benefits of virtualization. The extension is not published in the Chrome store, but you can build it yourself and add it in Developer Mode: https://github.com/webJose/DomDescendantCounter Note DOM Descendant Counter was half-vibed with Claude Sonnet 4, hence the flashy README. I vibed it because it is undeniable that AI CAN code, and as a professional I need to learn how to use it. There might be some superflous code here and there. I did supervise and review the work, though. The extension delivers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
About
The third release candidate for
v4.0.0
is here!It contains many improvements that I found by looking at the code for way too long. I ended up changing quite a lot, which technically shouldn't happen between two release candidates, but I don't have any other release options at the moment 😅
Most importantly, I have deprecated the
children
snippet, and you should useitem
instead, similar to how the slot was called inv3.0.0
and earlier versions.The same applies to the
onListItemsUpdate
callback, where you should useonItemsUpdated
instead, inspired by the naming of the event fromv3.0.0
and earlier versions.These two changes are backwards compatible, so you may see a TypeScript warning, but everything will remain functional until a potential
v5.0.0
in the future, where deprecated APIs will be removed.So I still recommend changing it!
I've hopefully also fixed the typings. This should help with errors, warnings, and the general development experience.
I promise that I won't change much more, if anything, until the final
v4.0.0
release :DWhat's Changed
children
snippet. Useitem
instead!onListItemsUpdate
callback. UseonItemsUpdated
instead!svelte-check
tool to verify typingsSizeAndPositionManager
v3.0.0
$state
forbind:this
height
default to'100%'
Element.scroll(...)
legacy fallback since older browsers are not supported anymore anywaysFull Changelog: v4.0.0-rc.1...v4.0.0-rc.2
Sponsors
Thank you to my first ever GitHub Sponsor, Jakob Kruse (@jakob-kruse)!!! 💖
Do you also want to appear here? Sponsor me!
Beta Was this translation helpful? Give feedback.
All reactions