alternatttte to filter function in react js code example Example: render a list using array filter react react rendering using array.filter