Patrick Wang

Results 5 comments of Patrick Wang

More info, If you change the repeatable component to be pure component (do not own its own state), it works. https://stackblitz.com/edit/vitejs-vite-prtfgs?file=src%2Ffast-repeater.ts

To simplify, we need repeat directive maintainning state with Key, just like vuejs or lit. https://vuejs.org/guide/essentials/list.html#maintaining-state-with-key https://github.com/lit/lit/blob/ff87eb461dfbfa8fd0101a6a9067dcaaa9b49f92/packages/lit-html/src/directives/repeat.ts#L114 This is vital for cases loopping complex components that has its own state,...

> Can we add a tree-view story as well! And let's rerun the codesandbox pipeline too. According to Chris, you can do: > > ``` > you can try /azp...

@mohamedmansour @davatron5000 @chrisdholt Please take a look. I've resolved most of the comments.

> The other thing I noticed was, it seems I can currently select multiple items, e.g. if I select a parent item, then a child item, both parent and child...