Re:Choosing Ruby on Rails for web development project in 2019
by fouc on Wednesday May 29, 2019 @11:01AM
(#20040973)
intercooler over turbolinks? or together? not quite sure what intercooler really brings
Re:Choosing Ruby on Rails for web development project in 2019
by throwaway_x13zd on Wednesday May 29, 2019 @12:52PM
(#20042492)
intercooler just gives you finer grained control over your ajax requests, which makes it easier to implement stuff like active search, etc.
turbolinks is great if you just want a faster pure web-app.
I've used both successfully independently and in tandem.
Re:Choosing Ruby on Rails for web development project in 2019
by fouc on Wednesday May 29, 2019 @08:41PM
(#20047246)
That's interesting! I do some ajax with the js.erb files, but I honestly find that it's pretty messy & gross. Maybe I could eliminate those .js.erb files with intercooler.js (or clean them up).
Do you find that intercooler lets you avoid using .js.erb files altogether?
1 - https://github.com/plataformatec/devise
2 - https://github.com/plataformatec/simple_form
3 - https://github.com/mislav/will_paginate