Skip to content

Conversation

mattpocock
Copy link
Contributor

@mattpocock mattpocock commented Jul 3, 2023

ReactNode is preferable to ReactElement in React 18 and beyond.

@filiptammergard
Copy link
Collaborator

Thanks @mattpocock!

@filiptammergard filiptammergard merged commit 06271e0 into typescript-cheatsheets:main Jul 3, 2023
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.

2 participants