Stimulusjs with golang

Hello,

I just started looking into StimulusJS. I was wondering if anyone has used Stimulusjs + turbolinks with golang as a backend server? If not, then I may have to figure out a way to hook things!

Puran

1 Like

Welcome, Puran!

Both StimulusJS will work just fine with any backend.

With Turbolinks you will need to set some HTTP headers for it to properly respect 304 responses.

I can’t vouch for it but this seems like a good starting point: https://github.com/liuzhe0223/go-turbolinks

Regardless of whether you’re able to adopt Turbolinks, I strongly encourage you to jump into Stimulus with both feet.

2 Likes

Got it. Thanks! I will also share what I come up with the community here

2 Likes