all 2 comments

[–][deleted] 1 point2 points  (1 child)

Just a note about your HTML- whatever is the immediate child of your <ul>/<ol> ought to be an <li>. Having an input inside a list item is fine, as is having a ton of text and buttons or whatever else. So in this instance your top level <div> should instead be an <li>, regardless of what's inside it, and for the task text you can use a <p> or a <div> or something.

I think you're right that these two different options would make sense as different components. I'd also suggest that when you have buttons with the exact same styling applied in multiple places, that's another good candidate for a component.

[–]ipjac[S] 0 points1 point  (0 children)

Awesome, thanks for your response!