Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

216
Views
Svelte, updating class instance property inside the 'use' action function not updating on view

I'm trying to implement a form class that allows me to better implement working with forms in Svelte, but I'm running into the issue that when I update a instance property inside the 'use' action function... the new value is not getting updated in the view.

Here is the link to a REPL I'm working with:

https://svelte.dev/repl/13ac33881a184795947be6ae9f104834?version=3.44.3

Essentially what I'm trying to achieve in this piece of code is that when the user clicks into the input, the inputs bounded class instance 'touched' property gets updated in the 'use' action, which should in turn, re-render the 'touched' value in the UI.

I'm not sure why the value is not updating in the UI.

Any help to make understand what I'm doing wrong is greatly appreciated.

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!