Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Add missing type info in component registration functions #308

Merged
merged 3 commits into from
Dec 29, 2021

Conversation

hawkticehurst
Copy link
Member

@hawkticehurst hawkticehurst commented Dec 29, 2021

Link to relevant issue

This pull request resolves #289

Description of changes

Fixes an issue with component registration functions where type information was being lost in certain cases. This caused downstream problems when used with the fast-react-wrapper so that component attributes had incomplete type info and rendered the component unusable in TypeScript-based React projects.

Reference this issue for even more background context on this problem/solution.

@hawkticehurst hawkticehurst self-assigned this Dec 29, 2021
@hawkticehurst hawkticehurst added the bug Something isn't working label Dec 29, 2021
@hawkticehurst hawkticehurst added this to the January 2022 milestone Dec 29, 2021
@hawkticehurst hawkticehurst merged commit 421fcee into microsoft:main Dec 29, 2021
@hawkticehurst hawkticehurst deleted the component-type-info branch December 29, 2021 18:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Events not consistently passed to wrapped React components
1 participant