1.0.1 • Published 4 years ago

@biglemonco/cra-templates-common v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@biglemonco/cra-templates-common

Usage

First install it with yarn add @biglemonco/cra-templates-common

Datastore

Setup

import { init } from '@biglemonco/cra-templates-common/datastore';

// TODO: What is the init command

Hooks

import { useQuery, useMutation } from '@biglemonco/cra-templates-common/datastore';
import { Post } from './models

export default () => {
	const { loading, error, data } = useQuery(Post, { id: '123' })
	return null;
}

Apollo

// TODO: Write docs

1.0.1

4 years ago

1.0.0

4 years ago