Skip to content

The docs $state.raw is incorrect #14877

@good-dev-student

Description

@good-dev-student

Describe the bug

image

Reproduction

use the version of svelte here my package.json
package.json

Logs

person init {name: 'Heraclitus', age: 49}
+page.svelte:35 RUN : person.age += 1;
+page.svelte:37 !this will have no effect INCORRECT {name: 'Heraclitus', age: 50}

System Info

System:
    OS: Windows 11 10.0.26100
    CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
    Memory: 16.07 GB / 31.89 GB
  Binaries:
    Node: 23.5.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.15.2 - ~\AppData\Local\pnpm\pnpm.EXE
  Browsers:
    Edge: Chromium (131.0.2903.112)

Severity

blocking all usage of svelte

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions