This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
Both the form and data fetching are on their own page. http://localhost:3000 will end up at a page with buttons that link to them.
I have not used @tanstack/react-query
, using server actions simply removes the need for this.