How do I redraw DOM elements in a react component?
The page is the parent component and their children are the cells.
5 Replies
When I change something in the dom properties in the children i.e cells....
As you see in the image above the cells DOM elements are changed. let's say that their "DOM/VDOM-state" is changed.
Then I want to clear all of that to get to the image one above. i.e all blue elements; i.e clear the "DOM-state".
As you can see I regenerated new cells with different heights. but the colors i.e DOM-state; is still the same.
My question is: How do I re-generate the DOM-state of the elements inside the cells?