0

I am trying to render the html file but it seems to load only partially in the component, can someone help what am i missing? here is the codesanbox https://codesandbox.io/s/load-external-html-into-react-comps-forked-e8xl82?file=/src/App.js the script tag in the html body doesn't seem to be rendered , i tried moving it to folder and run but still doesn't work,

Any help would be really appreciated.

I tried th steps in React: how to load and render external html file? but it doesnt seem to work , please check the codesanbox

newcomer
  • 1
  • 3
  • Does this answer your question? [React: how to load and render external html file?](https://stackoverflow.com/questions/40108843/react-how-to-load-and-render-external-html-file) – kennarddh Jul 28 '22 at 16:50
  • I tried that solution but it doesnt work, please see the attached codesanbox – newcomer Jul 28 '22 at 17:14
  • @kennarddh can you check the codesanbox before closing this question as i already checked the link you had shared – newcomer Jul 28 '22 at 17:47
  • Questions on Stack Overflow must be self-contained, which means the [mre] and description of the problem must be in the question itself, and not rely on external links. – Mark Rotteveel Jul 31 '22 at 12:27

0 Answers0