In some case, we should use React Component in other framework based on Javascript such as Purescript .Framework can compile Javascript or ES6 but can not JSX because JSX is required for using React. Then what can we do for it?We can use it without JSX and the framework can compile them.Each JSX element is …