Skip to content

Functions as Children on ReactPattern.com is wrong #22

Open

Description

@AtomicSimon

Hi,

I've just stumbled upon this brilliant list of pattern, however, I have noticed one of them is wrong.

the "Function as children" section mentions that it's not possible, however, it's a known & used pattern.

See here as an example: https://codedaily.io/tutorials/6/Using-Functions-as-Children-and-Render-Props-in-React-Components

Regards,
Simon

Activity

  1. AtomicSimon commented on Feb 24, 2020

    @AtomicSimon
    Author

    After reading the rest of the article, I have noticed that it's explained under the Render Prop section.

    In this case, what is implied by the Function as Children pattern, if not what's covered in the render prop section?

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