Read the blog post at https://www.prakashgurung.com/blog/react-server-functions - Passing data between React client and server components
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.