Next.js Discord

Discord Forum

signal value updating

Unanswered
Aditya Kirad posted this in #help-forum
Open in Discord
hey folks here is my stackblitz playground
https://stackblitz.com/edit/vitejs-vite-vt1v4o?file=src%2Fcomponents%2Ftodos.tsx
I'm using the @preact/signals-react package for the state management I don't why the completed property value is not negating every time the toggleCompleted function triggers.
```

0 Replies