Skip to content

[internal] Enforce hook parameters to use required values #856

@atomiks

Description

@atomiks

Hooks aren't public APIs and don't need optional values. This change will ensure all component props that are needed by the hook are forwarded correctly to prevent bugs. Components should be responsible for defining default values in their props which are then forwarded to the hook.

Search keywords:

Metadata

Metadata

Assignees

No one assigned

    Labels

    internalBehind-the-scenes enhancement. Formerly called “core”.scope: all componentsWidespread work has an impact on almost all components.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions