Would y'all want to collaborate on MST docs? #63
-
Hey folks, The MobX-State-Tree maintainers want to improve our docs in 2024. Right now we have just one link to your library in the MobX-State-Tree docs. I think there's room for a lot more. Since so many people come to us asking for help with things that MST query is designed to help with, I'd love to get some examples, articles, tutorials, etc from y'all that we can showcase. Is that interesting to you? Is there some other way you'd prefer to collaborate (if at all?) Let me know! My email is on my GitHub profile if anyone wants to connect one-on-one. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @coolsoftwaretyler ! We'd definitely be interested in helping out with improving the docs for Mobx-State-Tree. To me it would make a lot sense to showcase how mst-query can help with simplyifing async flows. In such a section, you could first explain the normal mst patterns, and then have another part that shows corresponding code but with mst-query. I also think it would be great to somehow show how mst-query can help you normalize nested data like you get from a graphql endpoint. Not sure if this would belong in a "Working with graphql"- section or "Normalizing data"-section, but hopefully you get the idea. One thing to note is that mst-query right now is tightly tied to React. This might be an issue unless you highlight mst-query in a section about React integration. It should technically be possible to separate the parts that depend on React from the integration into mst, but at this moment I'm not sure how much work that would be. |
Beta Was this translation helpful? Give feedback.
-
The documentation is here: https://mobx-state-tree.js.org/recipes/mst-query |
Beta Was this translation helpful? Give feedback.
The documentation is here: https://mobx-state-tree.js.org/recipes/mst-query