S
SolidJS17mo ago
boface

Anyone know a good solution for using GraphQL in Solid.js?

Hi, I've been using Solid.js to build a online gaming application. I'm currently working on the frontend which is being integrated with an enterprise-grade backend which uses GraphQL. I've came across two libraries for GraphQL for Solid.js frontend, namely, solid-apollo and solid-urql. The issue I am currently facing is that solid-apollo is quite basic at the moment and does not seem to support configuring HttpOnly cookies. (Corrent me if I'm wrong). Solid-urql does not seem to work in the most recent version of Solid.js, and the library seems quite outdated without receiving any updates the past year. Does anyone know alternative or elegant solutions with handling GraphQL in Solid.js with the libraries above or a custom solution? Thanks
1 Reply
foxpro 🐍
foxpro 🐍17mo ago
You can start with genql/graphql-code-generator + graphl-request and use it with createResource There is also @solid-primitives/graphql
Want results from more Discord servers?
Add your server