Skip to content

Please provide more reasoning to Q12 #254

Open
@qianzhong516

Description

@qianzhong516

In What is the purpose of callback function as an argument of setState(), it was mentioned

Note: It is recommended to use lifecycle method rather than this callback function.

I never saw this saying anywhere, could you provide the reason why?

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