Skip to content

Satori does not work with components which are using forwardRef #600

@sdorra

Description

@sdorra

Bug report

Description / Observed Behavior

Satori does not render components which are using forwardedRef. For example FontAwesomeIcon.

Expected Behavior

Satori should render components which are using React.forwardRef.

Reproduction

The following demo uses the latest next.js canary and should show 👋 Hello World 👋, instead it renders only World 👋 the 👋 Hello uses a forwardRed and is not rendered.

https://github.com/sdorra/og-with-forwardRef

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