An Interest In:
Web News this Week
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
- April 12, 2024
- April 11, 2024
- April 10, 2024
January 2, 2022 10:29 am GMT
Original Link: https://dev.to/101samovar/create-react-app-mind-map-part-6-of-10-map-mhp
Create React App - Mind Map. Part 6 of 10: Map
Lets navigate to the Map screen.
The Map screen is the main screen of the MindMap App.
To navigate to the Map screen you need to double click on the MindMap 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.
Source code:
https://github.com/101samovar/react-mindmap.git
Our channel:
https://youtu.be/58KJNlyPLsw
Original Link: https://dev.to/101samovar/create-react-app-mind-map-part-6-of-10-map-mhp
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To