I want to simply inline a HTML file in React by doing something like this :
import someFile from './aHtmlFile.html';
const Example = (props) => {
return (
<div dangerouslySetInnerHTML={ {__html: someFile} } />
);
}
However, I don't want to install Webpack only because of this. Are there any other ways of doing this easily ?