react-docker-optimization/src/index.tsx
hadestructhor eb0d43e589
All checks were successful
ci/woodpecker/manual/workflow Pipeline was successful
feat: RsPack Bun Dockerfile
2025-01-05 18:06:10 +01:00

13 lines
284 B
TypeScript

import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
const rootEl = document.getElementById('root');
if (rootEl) {
const root = ReactDOM.createRoot(rootEl);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>,
);
}