Asked by: Dacil Allainasked in category: General Last Updated: 17th May, 2020
Can you mix JS with jQuery?
In this regard, can I use jQuery with react?
Don't use jQuery. In most cases, you won't need anything from jQuery when you're properly using React. Well, the fact is 'in most cases' you don't need. But sometimes when building large scale applications maybe you need to use jQuery plugins or a piece of jQuery functionality.
Can there be more than one ready function in jQuery?
Yes, you can use multiple document ready handler, there is no special advantage even though you can use jQuery code in several place. You can't use the variable inside one in another since those are in different scope.