Create react app. Part 6 of 10: Map screen

Опубликовано: 21 Октябрь 2024
на канале: Samovar tutorials
1,099
10

Continue to create react app.
Let’s navigate to the Map screen.
The Map screen is the main screen of the Mind Map App.
To navigate to the Map screen you need to double click on the Mind Map card on the Home screen.
So in the Home JS file we need to add the method that sets the route to the map.
On the card element we need to add the double click handler.
On double click we just call the method with item id param.

🔗 Other courses from Samovar:    • Practical courses  
💻 Code: https://github.com/101samovar/react-m...