Open fengsiri opened 4 years ago
shouldComponentUpdate is never called in stack.html if SierpinskiTriangle is function. So SierpinskiTriangle must be change to Class component.
shouldComponentUpdate
SierpinskiTriangle
shouldComponentUpdate
is never called in stack.html ifSierpinskiTriangle
is function. SoSierpinskiTriangle
must be change to Class component.