Skip to content

ReactNodeArray is deprecated #80

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

Closed
johnbonds opened this issue Aug 20, 2022 · 2 comments
Closed

ReactNodeArray is deprecated #80

johnbonds opened this issue Aug 20, 2022 · 2 comments

Comments

@johnbonds
Copy link

per react:
/**
* @deprecated Use either ReactNode[] if you need an array or Iterable<ReactNode> if its passed to a host component.
*/

Possible to refactor?

@DerGoogler
Copy link

per react: /** * @deprecated Use either ReactNode[] if you need an array or Iterable<ReactNode> if its passed to a host component. */

Possible to refactor?

You can use (<div>Hi!</div>) as React.Node[]

But I fixed that in my PR #81

@iansinnott
Copy link
Owner

#88

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

No branches or pull requests

3 participants