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 f418272 2 files · 2.6 KB Updated

File contents

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

Frequently asked questions

npx skillmds@latest add tomevault-io/js-tosorted-immutable