Skip to content

Latest commit

 

History

History
 
 

todos_with_atomFamily

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Todos with atomFamily Open in StackBlitz

Description

Implement a todo list using atomFamily and localStorage, you can store your todo list to localStorage by click Save to localStorage, then remove your todo list and restore them by click Load from localStorage.

Set up locally

git clone https://github.com/pmndrs/jotai

# install project dependencies & build the library
cd jotai && pnpm install

# move to the examples folder & install dependencies
cd examples/todos_with_atomFamily && pnpm install

# start the dev server
pnpm dev

Set up on StackBlitz

Link: https://stackblitz.com/github/pmndrs/jotai/tree/main/examples/todos_with_atomFamily