Of course you can, but most people still opt to pull in a whole framework (React) or heavy library (jQuery) just to achieve what's essentially a few XMLHttpRequests and some DOM changes.
Maybe because it is easier to track one library, react and jsx. I wouldn't use xmlhttprequest since the request api exist.
Maybe because it is easier to track one library, react and jsx. I wouldn't use xmlhttprequest since the request api exist.