in array methods 1 filter in react functional and class component.
Utilisateur anonyme
1 filter method creates a new array filled with elements that pass a test provided by a function 2 functional component is state less component and is just a plain javascript function that accepts props as an argument and returns a react element. A class component requires you to extend from React component and create a render function which returns a React element