Skip to content

Commit 9a57ab9

Browse files
authored
Update README.md
1 parent cdcbb24 commit 9a57ab9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ yarn start
7979

8080
## 🏋️‍♀️ Bonus exercise
8181

82-
- Create an abstraction of the `button` component that is inside the `Navbar` component and the `Menu` component into its own `Button` component. By creating an abstraction I mean, create a component. Do we know ahead of time who are the children of the `Button` component? Try to use the prop called `children` for the elements displayed inside the button.
8382
- Can we move the `isMenuOpen` state inside the menu? Does it conflict with the idea of "lifting the state up".
8483
- If you look at the [React Profiler](https://reactjs.org/blog/2018/09/10/introducing-the-react-profiler.html) when you open and close the menu, is the whole app being rendered? If so, how can we avoid that and still lift the state up?
8584

0 commit comments

Comments
 (0)