next-xhr XMLHttpRequest for next. installation npm install -S afeiship/next-xhr --registry=https://registry.npm.taobao.org apis api params description create - Create XHR by default behavior usage import NxXhr from 'next-xhr'; // code goes here: