CodeYourFuture / CodeYourFuture/React-Module-Project
Feature Bookings state
Aperta
🏕 Priority Mandatory
🐇 Size Small
📅 Week 2
🧩 Feature
- Lingua principale
- JavaScript
- Stelle
- 1
- Fork
- 28
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**Instructions:**
In the `` component, declare a new state `bookings` with the corresponding setter function `setBookings` to hold the `FakeBookings` data. Instead of passing `FakeBookings` directly to the `` component, pass the new `bookings` state variable.
**Hint:** The new `bookings` state should be initialised with the `FakeBookings` variable.
**Test:**
- [ ] The bookings are still rendered correctly in the page.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.