Nested x-for lists re-render perfomance #4595
Unanswered
FutsalShuffle
asked this question in
1. Help
Replies: 1 comment 1 reply
-
See #4361 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've put together this example https://codepen.io/andrew-burdey/pen/YPzJRLz
Pressing the button on the bottom updates options list for nested selects. On my actual app there's more html and fields, but even on this example there's a noticable window lag on updating options list. On my real usecase there's like a full second lag on m3 pro, so older hardware would probably freeze for much longer.
Is there any more efficient way to do this? I feel like straight insterting html into these fields without re-rendering with x-for would be better, but i have no idea how would i implement this with alpinejs
update: https://codepen.io/andrew-burdey/pen/emYPQXP tried to watch on state change and straight update html. still no success, takes about the same time
Beta Was this translation helpful? Give feedback.
All reactions