Skip to content

Deferred values seem broken in single fetch #10467

Open
@lifeiscontent

Description

@lifeiscontent

Reproduction

https://stackblitz.com/edit/remix-run-remix-obxpgddh?file=app%2Froutes%2F_index.tsx

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    @remix-run/dev: * => 2.15.3 
    @remix-run/node: * => 2.15.3 
    @remix-run/react: * => 2.15.3 
    @remix-run/serve: * => 2.15.3 
    vite: ^5.1.0 => 5.4.14

Used Package Manager

npm

Expected Behavior

expect to be able to use the value from useAsyncError

Actual Behavior

never consistently returns the error value.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions