4 ms·
Seriously. I spent many hours building my own pjax like framework with pushState, and what I've done is (quote) "worry about what element on the page to replace
by ashayh 14y ago
Seriously. I spent many hours building my own pjax like framework with pushState, and what I've done is (quote) "worry about what element on the page to replace, and tailoring the server-side response to fit, " . A standardized way of doing this would have been so much better.
- JuDue 14y agoAgree with this. From what I can think there will be two broad use cases: 1) Sibling pages within a section will often share RHS and header content. So makes sense to replace the inner area where the actual page content lives and leave the rest alone. 2) Cases where the above doesn't hold or it's too complicated to care about, so load in the whole body. I'm sure DHH chose the #2 rule because #1 turns out to cause a can of worms?
- JuDue 14y agoLooking forward to some blog analysis on all this. And the inevitable vs PJAX conversation (ie: is it flexible enough? Does it need to be?)
- halfdan 14y agohttp://geekmonkey.org/articles/28-introducing-turbolinks-for-rails-4-0 http://geekmonkey.org/articles/28-introducing-turbolinks-for...