document.body.innerHTML = `
<div>
Hello world
</div>
`;
the React equivalent is no more complex: const HelloWorld = () => (
<div>
Hello world
</div>
);
ReactDOM.render(<HelloWorld />, document.body);
Add to this a couple of high-level concepts, i.e. that a React component re-renders if its arguments (props) or its internal state change, and you are 70-80% there. Learn the useState and the useEffect hooks, and you are ready to be productive. If you aren't ready for build tools yet and just want to play with the library, take Preact, which has a syntax option that does not require a build step [0]How many hours should this take?