import * as React from "react";
import ReactDOM from "react-dom";
import { Provider } from "react-redux";
import { combineReducers, createStore } from "redux";
import Books, { bookReducer } from "./Books";
const store = createStore(bookReducer);
const rootElement = document.getElementById("root");
ReactDOM.render(
<Provider store={store}>
<Books />
</Provider>,
rootElement
);