Last 12 weeks · 0 commits
1 of 6 standards met
This was a fun one to work on! I got the sorting to work and finally figured out a solution to the ✊ vs ✋ issue but it required adding a separate css file. I was hoping to update the content with props but the element actually gets cloned and appended to the body when you sort so the only thing I could think of was having a custom css selector which has an that provided the content. I'm definitely open to thoughts and feedback on the implementation. Here are a couple of my thoughts. I didn't quite get the function and the structure of the items. I built my own reorder handler here. Maybe they could be merged and the data structure could be simplified but I didn't want to mix that with this PR. The doesn't seem to be working when you add or delete an item so I'll have to look at that when I have some more time as well. Fun project Kent!
Repository: kentcdodds/repeat-todo-v2. Description: Created with CodeSandbox Stars: 28, Forks: 4. Primary language: JavaScript. Languages: JavaScript (91.3%), HTML (8.7%). Open PRs: 1, open issues: 4. Last activity: 5y ago. Community health: 28%.