News for hackers. Stuff that matters.
Re:How and why GraphQL will influence the Sourcehut alpha by zapf on Thursday June 11, 2020 @03:53AM (#23486241)
If you don't like REST, don't use it.

Whatever you do, don't even think that GraphQL will solve your problems. You were on the right track staying away from it till now.

I can't also advise enough to stay away from a typed language (Go in this case) serving data in a different typed language (gql). You will eventually be pulling your hair out jumping through hoops matching types.

After my last web project that require gql and go, I did some digging around, thinking, there has to be a better alternative to this. I have worked with jQuery, React, GraphQL.

My conclusion was that next time I will stick to turbolinks (https://github.com/turbolinks/turbolinks) and try stimulus (https://stimulusjs.org/).

Re:How and why GraphQL will influence the Sourcehut alpha by square_usual on Thursday June 11, 2020 @05:49AM (#23486971)
> stimulus (https://stimulusjs.org/).

And here I thought Basecamp was still 100% rails. Interesting to see that they're also developing backend JS frameworks.

Re:How and why GraphQL will influence the Sourcehut alpha by odensc on Thursday June 11, 2020 @06:45AM (#23487365)
Stimulus is a frontend framework.
Re:How and why GraphQL will influence the Sourcehut alpha by Scarbutt on Thursday June 11, 2020 @12:34PM (#23490571)
Turbolinks doesn't work with third party(js) anything.