Dec 30, 2024
Docs: https://react.dev/learn/extracting-state-logic-into-a-reducer#comparing-usestate-and-usereducer
Dec 26, 2024
Docs: https://nextjs.org/docs/app/building-your-application/routing/layouts-and-templates
Dec 23, 2024
Today, I discuss the problem of state not being reset when rendering the same component in the same position within the React tree.
Read more about this here: https://react.dev/learn/preserving-and-resetting-state#resetting-state-at-the-same-position
Dec 19, 2024
Today, I give a brief overview of how pages work in Next.js 15 and a few important things to know regarding pages.
Learn more from the Next.js docs here: https://nextjs.org/docs/app/building-your-application/routing/pages
Dec 16, 2024
Today, I cover having a single source of truth in your React application's state.
Docs: https://react.dev/learn/sharing-state-between-components#a-single-source-of-truth-for-each-state