adding in main electron app with react
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import * as React from 'react';
|
||||
|
||||
import ReactDOM from "react-dom/client";
|
||||
|
||||
const root = ReactDOM.createRoot(document.body as HTMLElement);
|
||||
|
||||
root.render(
|
||||
<React.StrictMode>
|
||||
hello from react
|
||||
</React.StrictMode>
|
||||
);
|
||||
Reference in New Issue
Block a user