Skip to content

React project render twice? #3598

Closed
Closed
@zpc7

Description

@zpc7

🐛 bug report

Description of the problem

When I do some optimization about react project, I found the react function 'render' execution twice, no matter when the Initialization process and the react state change. It make me very confusion +_+
image

How has this issue affected you? What are you trying to accomplish?

I cannot observed the project correct behavior.. The function should be execution only once.

Link to sandbox: link

Your Environment

Software Name/Version
Сodesandbox PROD-1582498771-d91b0f8b1
Browser Chrome 80.0.3987.122
Operating System macOS 10.15.3 (19D76)

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