SolidJSS
SolidJSโ€ข12mo agoโ€ข
4 replies
p2

"Show done" in a basic todo list, and handling reactive arrays

Trying to create a basic todo app to get my grips with some basic solid/reactivity principles.

So far what I have works, but I have no idea if this is the idomatic way to handle array signals (ie if i'm changing/adding/removing elements the "correct") way.

I will post the code as a separate message because it's too long.

Additionally, how would I add some kind of filter to hide the tasks marked as done when the checkbox is clicked? I have tried a few approaches but none really did what i wanted.
Was this page helpful?