Without useCallback – Unexpected Re-render in React!
Even though Child is wrapped with memo(), it still re-renders on state change in parent. Why? Because the inputFunction is re-created on every render – it’s a new reference every time
Unfortunately, the political correctness and socialistic ideologies caused these problems. I thought you comform to the host country not trying to force your culture and ideology to the host country. #LiberalismIsAMentalDisorder