You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
In this example source code — SortableTree (all features)
— each tree item includes an index property, along with id, parentId etc....
But it doesn’t seem to be used anywhere in the component or the sorting logic.
Is there a specific reason for having the index field, or can it be safely removed?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
In this example source code — SortableTree (all features)
— each tree item includes an index property, along with id, parentId etc....
But it doesn’t seem to be used anywhere in the component or the sorting logic.
Is there a specific reason for having the index field, or can it be safely removed?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions