add react nano-repl example
This commit is contained in:
parent
46aa3d275a
commit
1941b1ff65
7 changed files with 2438 additions and 0 deletions
9
packages/react/examples/nano-repl/src/main.jsx
Normal file
9
packages/react/examples/nano-repl/src/main.jsx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import React from 'react';
|
||||
import ReactDOM from 'react-dom/client';
|
||||
import App from './App';
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root')).render(
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>,
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue