527aeeeced
I used the boilerplate/typescript project as a starting point. This project fetches and renders books that I'm defining in a Contentful CMS that I created.
12 lines
265 B
TypeScript
12 lines
265 B
TypeScript
import React from "react";
|
|
import ReactDOM from "react-dom";
|
|
import App from "./App";
|
|
import { Provider } from "react-redux";
|
|
import store from "./store";
|
|
|
|
ReactDOM.render(
|
|
<Provider store={store}>
|
|
<App />
|
|
</Provider>,
|
|
document.getElementById("mount")
|
|
);
|