Maybe because it is easier to track one library, react and jsx. I wouldn't use xmlhttprequest since the request api exist.