News for hackers. Stuff that matters.
Re:Structured Page Fragments by YouTube (2017) by simula67 on Tuesday June 12, 2018 @07:18AM (#17292263)
How does this compare to PJAX : https://github.com/defunkt/jquery-pjax ?
Re:Structured Page Fragments by YouTube (2017) by triskweline on Tuesday June 12, 2018 @08:20AM (#17292546)
With pjax you choose a selector that is updated. This is usually a <div> in your layout that houses the main page content.

spfjs lets you target multiple containers with a single update, e.g. in YouTube the video area and the sidebar with related content.