what's faster and lighter to render (ul-li or table)?

2

I am making a dynamic menu with table (6 columns already defined and the line will vary) and bootstrap. I would like to know what is the best structure to build a dynamic menu (the user will choose several options, will be able to clone the line, etc.)

for(var i =0; i< arrSequencia.length;i++ ){
strInterface += "<tr class='formulario'>"+
    "<td class='col-md-1'>"+
        "   <input type=\"button\" class=\"btn btn-danger btn-info-bloco sembloco\" value=\"Botao "+arrSequencia[i]+"\"/>"+
        "</td>"+

    "</tr>";
}

I'm implementing this way ... Is ul-li faster and lighter to render?

    
asked by anonymous 10.08.2015 / 15:47

1 answer

0

Friend I think the best way to work today would be to use fixed data tables with react, so it gets much more performative, take a look at link you'll like.

Note: Somebody correct me if I'm wrong!

    
10.08.2015 / 16:00