at present, there is such a research: when you add, delete, modify and query with js, all the data comes from the array, and then dynamically generate dom nodes by traversing the array, and then delete elements, first delete the corresponding data in the array, and then automatically update the view. Similarly, after editing the data, the data in the array is updated, and then the view is updated automatically, which is a bit similar to the current vue data-driven. At present, it is possible to add, delete, modify and query dom nodes, but there is no way to update the array at the same time.
can you provide some ideas? it would be better to have code. Thank you.
The view is similar to the following: