rumkin / pill

Add dynamic content loading to static sites with only 1 KiB of JS
https://rumkin.github.io/pill/
MIT License
383 stars 18 forks source link

Pill vs alternatives #4

Closed mustafa0x closed 5 years ago

mustafa0x commented 5 years ago

Nice library! 👍

There are a quite a few pjax (pushState + AJAX) and spf (Structured Page Fragments) libraries, so I was wondering what the main differences were between Pill and its alternatives (https://github.com/topics/pjax).

rumkin commented 5 years ago

The main benefit of Pill is its' size. I've compared it with Pjax which is 6.9 KiB and Turbolinks which is 9.3 KiB. Pjax and Turbolinks were suggested by the readers in comments to announcement post on Reddit.

mustafa0x commented 5 years ago

Thanks!

tamb commented 5 years ago

@mustafa0x I'd also note that the learning curve for this library is basically non-existent. Could use some better documentation. But otherwise it's great!