Passing data between components in React is a very powerful concept. In this article, we'll look at the following two things: Sending data from a parent to a child Sending data from a child to parent For this concept, we'll need to use the useState...

Markdown supported · ⌘↵ to post
Mayju
Blogging what I learn ocassionally as a junior software developer.
I don't get which one is the parent and which one is the child in the first example. Is the App, the parent and the Bookshelf, the child in the first example? You mentioned that the Bookshelf is the parent and I would assume that the Book would be the child in the second example.