Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
And what's the problem?
Sample:
<div id="my-react-module-root"></div>
<script type="text/javascript" src="my-react-module-bundle.js"></script>
import React from 'react';
import { render } from 'react-dom';
import MyReactModule from './MyReactModule';
render(
<MyReactModule />,
document.getElementById('my-react-module-root'),
);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question