Skip to content

props cannot change inside Component? #7

Description

@howtomakeaturn

I have one question on this table:

-propsstate
Can get initial value from parent Component?YesYes
Can be changed by parent Component?YesNo
Can set default values inside Component?*YesYes
Can change inside Component?NoYes
Can set initial value for child Components?YesYes
Can change in child Components?YesNo

We can use 'setProps' in component. So I think props are able to change inside Component?

Thanks for any feedback!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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