Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

218
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda