miguel-perez / smoothState.js

Unobtrusive page transitions with jQuery.
MIT License
4.43k stars 508 forks source link

Suggestion: Add support for Fetch API #366

Open ginsterbusch opened 6 years ago

ginsterbusch commented 6 years ago

What about adding support for the Fetch API? Using it is rather easy, and it smoothens out a few issues related with AJAX (esp. the all-famous Callback Hell ;)).

I do realize it is not supported by IE, but Edge's been supporting it for quite some time, and as that seems to be the future of IE, I wouldnt worry much .. one still could use regular AJAX as a fallback.

cu, w0lf.

rupl commented 6 years ago

I think it would be a great idea for the next major version, maybe even combined with Cache API.