3 ms·
I guess I should have clarified. I just don't like how it does things I don't want it to do, because when I'm using rails + simple javascript, there's a reason
by cocktailpeanuts 9y ago
I guess I should have clarified.
I just don't like how it does things I don't want it to do, because when I'm using rails + simple javascript, there's a reason why I'm doing that instead of API + frontend JS framework SPA approach--I WANT it to work like a website, with full page refresh and all.
And I would like to say, for most use cases this is actually much better user experience than trying to make it work as SPA because users want to see "clear cut answers" to their actions.
This used to be simple when web pages just refreshed, but with single page apps, there are so many points of failure that you have to build all kinds of middleware just to make sure this type of client/server inconsistency doesn't happen. And I think this is overkill. Most people have been using regular websites just fine, and even when I've built tons of SPA for living, I myself still prefer regular web pages, you know, like hacker news. It's simple and it works. No state inconsistency, no memory hog.
- owens99 9y agoInteresting points. Hasn't been my experience Turbolinks does anything I don't want since Rails5.