“Why is filter() often used before map() when rendering lists in React?”
Because React requires arrays to be filtered before rendering
Because filter() creates a smaller array of items to transform into JSX
Because map() cannot work with objects containing extra fields
Because filtering automatically generates stable keys