Skip to content

Svelte 5 $state() not properly logging values when using @235 but works in @220 #12987

Closed as not planned
@itsmikesharescode

Description

@itsmikesharescode

Describe the bug

I was using the latest version 5.0.0-next.235 but find out this weird $state behavior when logging in the browser.

Not working version 235
latest_v

Working version 220
working_ver

Reproduction

https://svelte-5-preview.vercel.app/#H4sIAAAAAAAAA31R0WrDMAz8FSEGaSE072kSGP2EPdZ9cBM1MXVlL1a6lpB_H25SKGPb25046U7SiCdjKWC-H5H1hTDHd-8xRbn7SMKVrBCmGNzQ17FShLo3XsBqbkuFEhRWipVYEtAcvqjfORZtmHoo4S2IFlqNUaEkOuSQJOlMPwcKYhyHHPZzRcn4BErEiH2Vv7bksD88q9MMHnxabxVHUDsOAp3mxtLHcLwYgRJWaygrWCyiwlnaWNeufgTfxKApJNKZAL43LIZbkI7gqu1AycPk_xHPbnby94Rpq7jI5oPGI3LhqyWs5jsI3SJooO6oPsPiBta1ReZnvWE_CMRnxV_QTRTC0XCTP2zK8bfFJsgqxcVxEHEMjmtr6nM5vt5qWmIU2ayqFGOKF9eYk6EGc-kHmg7TN-e8ZXU-AgAA

N/A

Logs

No response

System Info

System:
    OS: Linux 6.8 Linux Mint 22 (Wilma)
    CPU: (8) x64 Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
    Memory: 6.12 GB / 11.55 GB
    Container: Yes
    Shell: 5.2.21 - /bin/bash
  Binaries:
    Node: 20.13.1 - /usr/local/lib/nodejs/bin/node
    npm: 10.8.0 - /usr/local/lib/nodejs/bin/npm
    pnpm: 9.1.0 - /usr/local/lib/nodejs/bin/pnpm
    bun: 1.1.25 - ~/.bun/bin/bun
  Browsers:
    Brave Browser: 127.1.68.134

Severity

blocking an upgrade

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting submitterneeds a reproduction, or clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions