We call such components “function components” because they are literally JavaScript ... To test the component using React Testing Library we use the render ...
確定! 回上一頁