Write now our scaffold uses the React <= 17 method of mounting components. (i.e. ReactDOM.render). We should add a flag that allows you to specify your react version, and based on that determine create different mounting code.
Default should be 18 and above.