https://github.com/tianzhich/taskstodo-reactdnd-motion
A Tasks To Do list with React DnD + Motion
https://github.com/tianzhich/taskstodo-reactdnd-motion
Last synced: 2 months ago
JSON representation
A Tasks To Do list with React DnD + Motion
- Host: GitHub
- URL: https://github.com/tianzhich/taskstodo-reactdnd-motion
- Owner: tianzhich
- Created: 2018-08-09T01:37:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-24T12:32:54.000Z (almost 6 years ago)
- Last Synced: 2025-02-08T08:13:12.342Z (4 months ago)
- Language: JavaScript
- Size: 61.9 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tasks To Do List (React DnD + Motion)
React DnD + React Motion 实现的一个待办任务列表## 运行
```
> $ git clone https://github.com/tianzhich/TasksTodo-ReactDnD-Motion.git
> $ npm i
> $ npm run start
```## 截图
1. 结果展示
2. 参考来源
## 备注
1. 这次没有使用create-react-app脚手架,自己用npm把流程走了一遍2. 为了学习CSS模块化和SCSS语法,项目中都有使用。但是该项目较小,不如直接使用CSS来得方便,也无需模块化
3. 还有部分没实现的功能,例如一些CSS动画效果:Flipping card, 渐变等等
4. 我是直接使用的[react-dnd](https://github.com/react-dnd/react-dnd),动画使用了[react-motion](https://github.com/chenglou/react-motion)。后来发现还有一个更好的库:[react-beautiful-dnd](https://github.com/atlassian/react-beautiful-dnd),封装了motion实现动画效果
5. 在此基础上可以实现todo list的filter功能,以及add,delete功能,以后有空再做