8 ms·
Hmm but that table would be actually what I would write in React most likely. Considering most tables want pagination, filtering and so on it would be dumb to u
by romanovcode 11mo ago
Hmm but that table would be actually what I would write in React most likely. Considering most tables want pagination, filtering and so on it would be dumb to use query-string params and reload the page. So this would actually fit perfectly.
I have this set-up where .NET ViewHelper would do `RenderReactComponent('complexTableComponent', '.complex-table-component')` and it would load bundled react as 1st script and then this component as second script. If page does not need no react components it does not load any. If you have more than one it will still load the react itself only once. It is really amazingly working very, very well.
And yes, if I would to build some kind of dashboard/email client or something I would say use React or Angular and API. But for regular website rendered HTML is king.