Generating a table from JSON data obtained from a REST API without utilizing Angular poses a challenge in a specific application.
My query is: Is it necessary to use
var table = document.createElement("TABLE");
within the script to construct the entire table, or is there a more elegant method to separate the code and build the table in the .html file?
In essence, I am looking for a solution that resembles one-way data binding in Angular, as I have primarily used Angular for REST API integration, but Vanilla JavaScript is mandated for this project.
Appreciate any guidance.