redux-devtools/packages/redux-devtools-slider-monitor/examples/todomvc/src/index.tsx
renovate[bot] e9da5fc411
fix(deps): update react (major) (#1165)
* fix(deps): update react

* Fix

* Use createRoot

* Update tests

* Format

* Fix test

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2022-06-06 16:22:05 +00:00

12 lines
357 B
TypeScript

import 'todomvc-app-css/index.css';
import React from 'react';
import ReactDOM from 'react-dom/client';
import configureStore from './store/configureStore';
import Root from './containers/Root';
const store = configureStore();
const rootEl = document.getElementById('root');
const root = ReactDOM.createRoot(rootEl!);
root.render(<Root store={store} />);