Created by: crup
Cleaned table.js
- Removed functions calls from table.js
doSort
andsetInterval
. These function calls should be effects. - Fixes existing sort which was mutating the component state instead of setting new one.
- Fixes an effect where
setCount
was being called recursively. - Cleaned
onHighlightState
method. - Refactored table rows to array map.