Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
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