react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

Request for more detail/a deep dive section

Open willwearing opened this issue 3 years ago • 1 comments

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!

willwearing avatar Jul 22 '22 16:07 willwearing

Hey is any one working on this issue?

AakashTyagi354 avatar Aug 31 '22 14:08 AakashTyagi354