View on GitHub

Code Fellows reading notes

A repository for organizing notes from my learning.

Passing Functions as Props

Lists and Keys

Source (docs): React Docs: Lists and Keys

The Spread Operator

Source (blog post): The Spread Operator (…) in JavaScript

Passing Functions Between Components

Source (video): How to Pass Functions Between Components

Things I want to know more about

The video didn’t touch on passing functions down through multiple children, which I’m curious about. I assume it’s still like props but I just realize that I’m not sure how props do that either. Do they have to be passed through each consecutive child, or is there a way to bypass several “generations,” so to speak?