This is a Next.js project bootstrapped with create-next-app
.
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
Testing
- Navigate to home
- Joke A is shown
- Reload the page or navigate to /refresh and back to home
- Joke A is still shown
- Navigate to refresh and click the refresh button
- Navigate to home via the menu: Joke A is still shown
- Navigate to home via a page reload: Joke B will be shown