Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 963 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 963 Bytes

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
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

Application Overview: Cards with Interactivity

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.

React's useState Setup

use state implementation

Addressing Unnecessary Re-renders with splitAtom

use state implementation