The challenge here is handle with the states of an authentication application. This project shows different ways to handle component rendering change by state.
Path | Description |
---|---|
/pages | Our pages router where each page is a different example. |
/components | Common components to help illustrate the examples. |
/utils | Useful functions for the different examples. |
/styles | With just a global.css with Tailwind imports. |
Clone the project and run:
yarn
yarn dev