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

fix: Added children prop to make it compatible with React 18 #158

Merged
merged 5 commits into from
May 17, 2022

Conversation

zashraf1985
Copy link
Contributor

@zashraf1985 zashraf1985 commented Apr 19, 2022

Summary

React 18 required children prop to be explicitly defined. This PR fixes this to make the React SDK work with React 18.
https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-typescript-definitions

Test Plan

All existing tests pass

Issues

#156

@zashraf1985 zashraf1985 removed their assignment Apr 19, 2022
@zashraf1985 zashraf1985 requested a review from a team April 21, 2022 18:53
Copy link
Contributor

@opti-jnguyen opti-jnguyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Seems to run fine on test project on React 18.

@zashraf1985 zashraf1985 reopened this May 15, 2022
@zashraf1985 zashraf1985 merged commit 53bf11b into master May 17, 2022
@zashraf1985 zashraf1985 deleted the zeeshan/add-children-prop branch May 17, 2022 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants