Skip to content

Instantly share code, notes, and snippets.

@rrmdn
Last active January 7, 2021 09:14
Show Gist options
  • Select an option

  • Save rrmdn/e08544d382fa284b1dd24f70ff1fe8f0 to your computer and use it in GitHub Desktop.

Select an option

Save rrmdn/e08544d382fa284b1dd24f70ff1fe8f0 to your computer and use it in GitHub Desktop.
qoreContext.js
import { QoreClient } from "@feedloop/qore-client";
import createQoreContext from "@feedloop/qore-react";
import config from "./qore.config.json";
import schema from "./qore.schema.json";
const client = new QoreClient(config);
client.init(schema);
const qoreContext = createQoreContext(client);
export default qoreContext;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment