On Wednesday, July 19, 2017 at 4:03:20 AM UTC+2, kapil Budhiraja wrote:
>
>
> I'm writing an web application using Angular 4, and would like to know if 
> it's safe to load a JavaScript file to connect to socketIO for emitting and 
> listening on responses ?
> Also, I want to use jQuery for dataTables features such as filter, export, 
> search etc
>
>
I would avoid jQuery (or anything external) for table manipulation, unless 
you want to offload the* whole* thing to the 3rd party lib. As Sander says, 
there are pretty awesome implementations of data tables for Angular 2+, 
just an npm search away. You find something you like, and if you expect 
you're going to go crazy with your demands, you can always do pull requests 
with whatever feature you need, or fork your own.

But even for basic tables it's simple to filter stuff out. That is one of 
the things that pushed Angular so hard, this binding between the DOM and 
your data. So you always operate on your data, and Angular works out the 
rest.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to