Skip to content

ReactNodeArray is deprecated #80

Closed

Description

@johnbonds

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

Possible to refactor?

Activity

  1. DerGoogler commented on Sep 23, 2022

    @DerGoogler

    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

  2. iansinnott commented on Jun 15, 2023

    @iansinnott
    Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions