Russell Peiris·Feb 5, 2025Optimizing a React Component with React.memo and useMemo()Let’s look at this react component. UserList is a component that will render a list of users by taking the users array as a prop. The users…
Russell Peiris·Jan 12, 2025Breaking Encapsulation: How Mutable Objects Can Compromise Your CodeTo fully understand the context, lets first understand what Encapsulation is!