Skip to content

typo on the source code for connectAdvanced? #739

Closed
@hkjpotato

Description

@hkjpotato

Hi, in the source of connectAdvanced line 255 it seems there is a typo in the comment

//Doing it this way vs having a permanent componentDidMount that does
// a boolean check every time avoids an extra method call most of the time, resulting
 // in some perf boost.

How to do a boolean check in the 'componentDidMount' for the succesive update since it will only be called once in the lifecycle? Could you explain how to use a permanent componentDidMount method that does the same thing like the current temporal 'componentDidUpdate' approach?

Thank you.

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