79323853

Date: 2025-01-02 13:32:17
Score: 0.5
Natty:
Report link

Just a suggestion :)

const t = (mylist?
          .filter(item => myComplexNestedFilter) ?? [])
          .map(item => ( <div key={item.id}>{item.title}</div>));
          
return t.length ? t : <div>There are no items in this list</div>;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jayampathi Weerasinghe