Skip to content

[all components] render prop doesn't work with async components #2859

@nestarz

Description

@nestarz

Actual behavior

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    external dependencyBlocked by external dependency, we can’t do anything about it.scope: all componentsWidespread work has an impact on almost all components.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions