79210480

Date: 2024-11-21 09:23:38
Score: 0.5
Natty:
Report link

Class fields aren't reactive in Svelte 5. So the problem is not that the state holds and array, but that the value in the array that you try to change is an instance of a class. If it's plain JavaScript object instead, it will work.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Peppe L-G