You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I clicked a remove button which removed an uFile (by updating the uFiles array), the totalSize variable wasn't updated.
So I found that this was working:
I believe adding an explicit example with a function call wouldn't hurt much, but would make things much easier to grab, rather than discovering through error/trial.
The text was updated successfully, but these errors were encountered:
Hi, I was trying this code and it didn't work:
When I clicked a remove button which removed an uFile (by updating the uFiles array), the totalSize variable wasn't updated.
So I found that this was working:
Re-reading the docs, I saw that this was explained, but kind of hidden (https://svelte.dev/docs#3_$_marks_a_statement_as_reactive).
I believe adding an explicit example with a function call wouldn't hurt much, but would make things much easier to grab, rather than discovering through error/trial.
The text was updated successfully, but these errors were encountered: