Skip to content

Request for more detail/a deep dive section  #4834

Description

@willwearing

Hey team,

Love the new Beta Docs!

Can you please provide a section (maybe a deep dive and/or a more reading link) explaining where the {children} value is coming from here and how it works:

export default function Section({ children }) {
  return (
    <section className="section">
      {children}
    </section>
  );
}

Link to doc: https://beta-reactjs-org-git-fx-fbopensource.vercel.app/learn/passing-data-deeply-with-context

It's obvious what it's doing but not how...

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions