Moving Away from GraphQL (no more sanity-source-plugin) #20
Unanswered
iamkevingreen
asked this question in
Ideas
Replies: 1 comment 3 replies
-
This is now in effect, anyone experiencing issues please let me know here, I have not gone through the experience on a fresh install so may be a lil different there but ideally pretty similar experience. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I will be moving the core of this experience off of GraphQL, the reasoning here is that the Groq syntax in my eyes is more stable and easier to parse through and handle. It also pairs well with the docs + preview aspects of the Midway build. I find that GraphQL in general is part of the aspects of gatsby that are more cumbersome and don't actually find it helpful.
I will be adding an Image component that works semi-similar to gatsby-image as that is one of the only benefits in my eyes of utilizing the grapqhl portion of the experience.
This will also make taking parts of midway into other frameworks like next/react-static a lot easier because it will not have the graphQL syntax handling.
NOTE I have made a fork of the repo that has all the current GraphQL aspects of the build in-tact. If you so choose to it would be pretty easy to always pull from that if you want to use GraphQL and I will also update the readme to reflect that.
Beta Was this translation helpful? Give feedback.
All reactions