I have a long list of articles which I grouped by category, how can I limit it so each category will have only 4 (or any other number) items?
My input is:
and I want only 4 articles on each section
I have a long list of articles which I grouped by category, how can I limit it so each category will have only 4 (or any other number) items?
My input is:
and I want only 4 articles on each section
Map the object values to sliced versions of themselves: