Decouple the logics of Table.js to make two new components.
Cell.js return data for each cell, while Row.js utilize cell component to create row for table.
Since I am not sure whether the original Table.js is a better implementation, I did not change the Table.js.
Decouple the logics of Table.js to make two new components. Cell.js return data for each cell, while Row.js utilize cell component to create row for table. Since I am not sure whether the original Table.js is a better implementation, I did not change the Table.js.