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.
Our practical example involves a list of cards, each featuring a "like" button for user interaction. Initially managed with useState
, we'll showcase the performance gains achieved by implementing splitAtom
in larger applications.