JS Tosorted Immutable

Use toSorted() instead of sort() to avoid mutating arrays. Apply when sorting arrays that are React props, state, or otherwise shared/referenced elsewhere. Use when this capability is needed.

tomevault-io Updated

File contents

tomevault-io/skills-registry/tree/main/theorcdev--8bitcn-ui--js-tosorted-immutable commit f418272a06

Frequently asked questions

npx get-skill add tomevault-io/js-tosorted-immutable