deno.land / x / jotai@v1.8.4 / examples / todos_with_atomFamily

Todos with atomFamily Open in CodeSandbox

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 && yarn

# move to the examples folder & install dependencies
cd examples/todos_with_atomFamily_and_localStorage && yarn

# start the dev server
yarn start

Set up on codesandbox

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

jotai

Version Info

Tagged at
a year ago