I continued to study Recoiljs, so I made a Todo list this time.
Here is the screenshot:
Todo List has features as following:
- Display List Stats
- Filter Todos
- Add Todo item
- Complete/Uncomplete Todo item
- Delete Todo item
I still feel that it is uncomfortable to type key same as variable name whenever defining atom or selector.
I can’t remember that there were duplicated typing in Redux.
Okay, let’s get started!
You can download the full source here:
https://github.com/maAPPsDEV/recoil-todo
React.js - 17.0.2
Recoil - 0.1.3
Please pay attention to the comments – // @ RECOIL: XXXXX
Thanks!
Sorry, the comment form is closed at this time.