Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setTimeout does not rerender component when using lifecycle functions #12138

Open
ValipPowa opened this issue Jun 22, 2024 · 1 comment
Open

Comments

@ValipPowa
Copy link

ValipPowa commented Jun 22, 2024

Describe the bug

Basically whenever having a component that for example has a status that changes on outrostart it would rerender like in the case below
expected normal interaction: svelte 4
this is no longer the case in svelte 5 it no longer rerenders the component

Reproduction

svelte 5

Logs

No response

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 AMD Ryzen 5 7600X 6-Core Processor
    Memory: 21.29 GB / 31.22 GB
  Binaries:
    Node: 20.13.1 - C:\Program Files\nodejs\node.EXE
    npm: 10.5.2 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.1.3 - ~\AppData\Local\pnpm\pnpm.EXE
    bun: 1.1.9 - ~\.bun\bin\bun.EXE
  Browsers:
    Edge: Chromium (126.0.2592.61)
    Internet Explorer: 11.0.22621.3527

Severity

annoyance

@7nik
Copy link

7nik commented Jun 22, 2024

A bit more demonstrative example of disabled updates during outro transition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants