Skip to content

Make default initial state of a component {} #2804

@macalinao

Description

@macalinao

I find myself writing getInitialState: function() { return {}; } way too often. A lot of components wait for AJAX requests before setting any state variables, and doing this will make things much easier.

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