Since React is a Javascript library, Javascript is used in Magento 2 ReactJS development.