Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Conversation

@t3chguy
Copy link
Member

@t3chguy t3chguy commented Aug 1, 2024

Split out from #12852

Avoids constructor definition in sites using context where it can be trivially avoided as it breaks React.ComponentType<T> in React 17. Ensures all Class components using static contextType also have a context type definition, ready for the switch over to declare syntax in ES2022.

Signed-off-by: Michael Telatynski <[email protected]>
@t3chguy t3chguy added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Aug 1, 2024
@t3chguy t3chguy self-assigned this Aug 1, 2024
Signed-off-by: Michael Telatynski <[email protected]>
@t3chguy
Copy link
Member Author

t3chguy commented Aug 1, 2024

Bypassing sonar covg gate due to this just being type changes, and its very very close anyway

@t3chguy t3chguy merged commit b6addb4 into develop Aug 1, 2024
@t3chguy t3chguy deleted the t3chguy/react-contexts branch August 1, 2024 12:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

T-Task Refactoring, enabling or disabling functionality, other engineering tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants