React.memo .cursorrules prompt files

React.memo is a higher-order component that prevents unnecessary re-renders of functional components by memoizing their output, enhancing performance in React applications.