Why would anyone use this outdated code over useInsertRow() and useTableColumnEffect()?

What are those and where are they in standard Javascript / DOM API?