Continue to create react app.
Let’s create a data repository for the MindMap.
The repository is the JS object with CRUD methods.
The method to Create new items.
The method to delete items of the mind map.
The method to Update existing items.
And the methods to Read item data.
To read one item data by ID.
And to read a list of items.
🔗 Сourses from Samovar: • Practical courses
💻 Code: https://github.com/101samovar/react-m...