Axios has a great API that developers love. Redaxios provides that API in 800 bytes, using native fetch().
For those searching for ways to shave a few kilobytes off of their bundles, that’s less than 1/5th of the size. This is made possible by using the browser’s native Fetch API, which is supported in all modern browsers and polyfilled by most tools including Next.js, Create React App and Preact CLI.
You can learn more about this package, get full installation instructions, and view the source code on GitHub at developit/redaxios.Filed in: News
Join 31,000+ others and never miss out on new tips, tutorials, and more.
Pass Named Handler Arguments to Middleware in Laravel
Has Parameters is a Laravel package by Tim MacDonald to “pass arguments [to middleware] in a more PHP’ish…
Laravel 7.7 Released With Variadic Container Support
The Laravel team released v7.7.0 yesterday with container support for variadic constructor arguments, a handful of ne…