Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Error when using cookies or headers #17

@STNeto1

Description

@STNeto1

Using both cookies or headers from next/headers throws an error around requestAsyncStorage.

Invariant: Method expects to have requestAsyncStorage, none available

next@13.4.0
react@18.2.0
zact@0.0.2

Repo with issue: https://github.com/STNeto1/zact-async-context/blob/main/src/app/action.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions