-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reorder elements in a reactiveValues()
object
#4190
Comments
Can you describe why you need to reorder elements? |
Sure, happy to elaborate. I hope I can simplify enough without leaving out key aspects. The scenario is roughly as follows:
For example Another example Things that are not straightforward with a
Removal of elements is tracked in #2439. Here I'm trying to make a case for reordering also being a manipulation for |
Thanks to #3774, ordering of elements in a
reactiveValues()
object is fixed to the insertion order. In an application of mine, I need the ability to reorder elements. As there is no way to remove an element, the only way I could find to get me what I need was to fiddle with internals. Something along the lines ofWhile I appreciate that it might not be a very common problem I'm trying to get around here I nevertheless wanted to raise the issue here and ask whether you're open to providing such functionality as part of the "public" API.
The text was updated successfully, but these errors were encountered: