It’s important to understand state when developing with React. State can be confusing to understand at first since it only re-renders when the reference to your state changes. This video explains a bug that a subscriber ran into because of not fully understanding how react components re-render.
📁. GitHub https://github.com/codyseibert/youtube
Subscribe: https://www.youtube.com/channel/UCsrVDPJBYeXItETFHG0qzyw
#react #react-hooks