While working with the react-rails
library, we can use the react_component() function in an .erb
file to add a react component.
How can we use the same function in a .haml
file? Or do we have another way of adding a react component in a haml file?