mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 17:46:56 +03:00
e9da5fc411
* 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>
12 lines
357 B
TypeScript
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} />);
|