Created
June 1, 2020 09:34
-
-
Save Odonno/dce5ea432d18b77606cc0405c4363f74 to your computer and use it in GitHub Desktop.
State management comparison - recoil - atoms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const todoListState = atom<Todo[]>({ | |
key: 'todolist', | |
default: [], | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment