Kashuab / mobx-depot

Scaffold MobX-powered models, queries and mutations with your GraphQL schema.
https://mobx-depot.dev
MIT License
8 stars 0 forks source link
codegen graphql mobx react state-management typescript

This project is no longer maintained.

I tried using this, and while it did work out the result was less stellar than expected. mobx-depot could definitely be improved in order to be feasible. I have a few ideas on this, however my team is not considering GraphQL for our own application stack for the future. If there is any interest in the project, I would love to work on it and perhaps implement those changes.


mobx-depot

View documentation

Scaffold MobX-powered models, queries and mutations with your GraphQL schema.

What do you get?

Which libraries is mobx-depot adjacent to?

Depending on the structure of your schema, you could also consider local state management as a target. You could theoretically generate models using a schema without needing to interact with an external API at all.

Expect trouble

Until this library is published on NPM with version >=0.1.0, expect trouble. There are many "pre-release" issues that still need to be tackled and tests to be written before I recommend usage. That being said, mobx-depot may "just work" for you.

If you do run into any bugs, please create an issue!

If you're interested in contributing, hit me up on Twitter. I won't have any formal guidelines for contributing until after the first release, as I want to ensure my vision for the library is clear before I start accepting PRs. Though I'm totally up to review some PRs for bug fixes!

Limitations

As is common in early development, there are limitations that will be addressed in the future:

Looking for the docs? View documentation