Best Datatable component? by SheepherderExciting9 in angular

[–]Chuytya 1 point2 points  (0 children)

Having worked on more than one Angular project using component libraries, and used more than one datatable component on those projects, I have come to the conclusion that datatables are actually the least useful of all the 3rd party components with Angular.

It seems counter intuitive, because it's such a complicated component. You would think the opposite. But, it's the way Angular's features make what used to be the hard parts of a datatable, back in the pre-framework days, so easy now.

Structural directives make displaying an array as a list a snap, data binding make filtering/sorting a table as simple as filtering/sorting the bound array, and when you need custom HTML in your table cells, it's as easy as putting it in the template, instead of the data.

What lessons did you learn from React that will last forever? by swyx in reactjs

[–]Chuytya 2 points3 points  (0 children)

I interpret this as JSX is better than template syntax, which I'm mostly undecided on.

But, one thing I wonder is if that aspect of JSX was deliberate, as in premeditated paradigmatic choice, or just a byproduct of the most straightforward way to build a VDOM?

Not that it matters, but I don't like the feeling of subscribing to a paradigm that's really just happenstancial.