-
Notifications
You must be signed in to change notification settings - Fork 216
feat: improve task management, completed task will not re-start again #181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
我没太 get 到需要用到状态管理器的必要性。或者一个 useContext 就够了。 |
6b452d7 to
24a9ca1
Compare
|
@magicdawn is attempting to deploy a commit to the buxuku's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
场景: Before 这个修改: After 这个修改: Before 这个修改: After 这个修改: |
|
请再处理一下冲突 tks |
场景:
添加一个任务A, 点击 "开始任务"
再添加一个任务 B, 点击 "开始任务" (注: 需要等 A 结束, 才能继续点击 "开始任务")
Before 这个修改:
A 已完成, 会重新开始任务
After 这个修改:
A 已完成, 不会重新开始处理
(注: 需要等 A 结束, 才能继续点击 "开始任务")
这里修改, 需要状态提升一下, 想问下你对状态管理器(valtio / zustand / jotai 等等)有偏好没有 😂, 因为你在维护