Skip to content

Invalid link on the forwardRef page #6525

@bielarusajed

Description

@bielarusajed

Hi, on the page about forwardRef there is a link to a section, that doesn't exist:

In Strict Mode, React will call your render function twice in order to help you find accidental impurities. This is development-only behavior and does not affect production. If your render function is pure (as it should be), this should not affect the logic of your component. The result from one of the calls will be ignored.

Here: https://github.com/reactjs/react.dev/blob/bbb08a5a04b0221137e5d60472fc979747af2954/src/content/reference/react/forwardRef.md?plain=1#L45C6-L45C6

Is there really a missing section, or that's an extra link, accidentally copied from the useState page?

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