js? Can I filter a nested array using “includes()” in Reactjs?
I have multiple user profiles similar to below... "user": { "firstName": "Joe", "lastName": "Bloggs", "userRole": [ { "id": 1, "name": "Role 001", }, { "id": 2, "name": "Role 002", }, { etc... } ], } Each user may have a…