[internal] Enforce hook parameters to use required values
Open
internal
scope: all components
- Dominant language
- TypeScript
- Stars
- 10.9k
- Forks
- 543
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 101
Description
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**:
Contributor guide
Assessment
This issue has not been assessed yet.