Skip to content

sabin411/jotai-split-atom

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published