这是indexloc提供的服务,不要输入任何密码
Skip to content

Warning: React.forwardRef()? #46

@jrfullstack

Description

@jrfullstack

nextjs: 14.2.18
next-view-transitions: "^0.3.2",

The problem occurs because function-type components, such as Link in next-view-transitions, cannot receive a ref directly. In this case, the Button component is trying to use asChild with a Link, which causes a conflict because the ref cannot be passed correctly.

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions