Created
September 25, 2021 18:02
-
-
Save kaushik94/7fdaa80749a0031dc1bc7137ae9695cf to your computer and use it in GitHub Desktop.
Create todos app - configure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/index.js | |
import React from "react"; | |
import ReactDOM from "react-dom"; | |
import App from "./App"; | |
import { NhostApolloProvider } from "@nhost/react-apollo"; | |
ReactDOM.render( | |
<React.StrictMode> | |
<NhostApolloProvider gqlEndpoint="https://hasura-xxx.nhost.app/v1/graphql"> | |
<App /> | |
</NhostApolloProvider> | |
</React.StrictMode>, | |
document.getElementById("root") | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment