DEV Community

Discussion on: Why we chose Turbolinks instead of building an SPA

Collapse
 
derekjhopper profile image
Derek Hopper

I've been looking into how Changelog has been handling form submissions, specifically validation errors. It looks like you have some custom handling with JavaScript and a couple of the Turbolinks APIs. How has that been working for you? Any notable concerns or pitfalls?

Collapse
 
jerodsanto profile image
Jerod Santo

It all works pretty well! As you noticed, there are a few bits we have to twiddle to make Turbolinks follow redirects correctly and stuff like that (which is transparent in Rails because they tightly integrate the two), but nothing too crazy.