Revaluate default props behavior in JSX functional components #36433
Labels
Needs Proposal
This issue needs a plan that clarifies the finer details of how it could be implemented.
Suggestion
An idea for TypeScript
Regarding the recognition of default initializers as part of type checking on functional components, I believe issues #32402 and #31247 should be reevaluated in the light of #34547 and the potential deprecation of defaultProps, and also on the own merits of both issues.
TypeScript Version: 3.7.5
Search Terms:
defaulProps, FunctionalComponent, JSX, React
Code
View issues #32402 and #31247
Expected behavior:
View issues #32402 and #31247
Actual behavior:
View issues #32402 and #31247
Playground Link:
View issues #32402 and #31247
Related Issues:
Issues #32402 and #31247 =D
The text was updated successfully, but these errors were encountered: