MobX Depot Logo

MobX Depot

Docs

MobX Depot

Scaffold a reactive data store with your GraphQL schema.

Get started
NPM versionLast commit dateGZipped size

Codegen

You get the goods.

When we receive your specs, you'll get blueprints delivered on-time or your money back.

GraphQL Logo

Post

id: ID!

title: String!

content: String!

MobX Logo

class PostModel

id: string

title: string

content: string

GraphQL Logo

createPost

post: Post

userErrors: [UserError]

input: CreatePostInput!

MobX Logo

class CreatePostMutation

variables: CreatePostMutationVariables

loading: boolean

async dispatch(): Promise<CreatePostMutationPayload>

GraphQL Logo

posts

posts: [Post]

sortBy: String

MobX Logo

class PostsQuery

variables: PostsQueryVariables

loading: boolean

async dispatch(): Promise<PostsQueryPayload>