Component - useCallback optimization
This React Native component shows a button and a counter. The useCallback hook is used to keep the button press handler function from being recreated on every render, which helps optimize performance by preventing unnecessary re-renders of child components.