thekevinscott / UpscalerJS

Found unnecessary fragments JS-0424
Anti-pattern
Major
6 months ago10 months old
Fragments should contain more than one child - otherwise, there’s no need for a Fragment at all
5
6export default function Root({children}) {
7  useShoelace();
8  return <>{children}</>;9}