Skip to content

Why initialState has no longer access to props? #54

Description

@paluh

Hi,

I've checked that with introduction of receiveProps type of initialState was changed. Do you think that after latest changes (and introduction of isFirstMount) we can make initialState a function again?

It would be more consistent with original react API and from my perspective would simplify state type and rendering in case of caching scenarios etc.

What do you think? Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions