Skip to content

render prop doesn't work with async components #2859

@nestarz

Description

@nestarz

Bug report

The render API doesn't work reliably with Server Components. It somehow works to some extent, but when render prop is declared with async or have a call to use(promise) internally, then the rendering fails.

Expected behavior

render prop should work reliably everywhere.

Related issues

amannn/next-intl#2030
radix-ui/primitives#3165
amannn/next-intl#1322

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: all componentsWidespread work has an impact on almost all components.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions