Answer the question
In order to leave comments, you need to log in
How to use jquery (append) and jsx (react)?
There is this code:
import Chat from './Chat';
import $ from "jquery";
.......
function1{
var div = '<div id="div1">' +
'</div>' +
}
Answer the question
In order to leave comments, you need to log in
const element = (
<div>
<h1>Hello, world!</h1>
<h2>It is {new Date().toLocaleTimeString()}.</h2>
</div>
);
ReactDOM.render(element, document.getElementById('root'));
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question