Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
January 2, 2022 10:29 am GMT

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:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To