Answer the question
In order to leave comments, you need to log in
What is the best way to use React on a static site?
I need to write several small React applications and embed them in a static site, how to do it "Correctly"?
Answer the question
In order to leave comments, you need to log in
const myAppRoot = document.getElementById(“my-app”);
ReactDOM.render(<MyApp />, myAppRoot);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question