哪个 JavaScript AJAX 框架最强大且非常轻量级?

2022-01-16 00:00:00 json frameworks javascript ajax

我一直在使用 jQuery 在我的基于 Web 的应用程序中实现整个 AJAX 魔法.但我决定不需要 jQuery 拥有的所有这些惊人的功能,除了它的 AJAX 函数(如 $.ajax()$.get()$.postgetJSON()load();).

I've been using jQuery to do the whole AJAX magic in my web based applications. But I came to a decision that I don’t need all these amazing features jQuery has, except its AJAX functions (like $.ajax(), $.get(), $.post, getJSON() and load();).

您能否推荐一个轻量级的跨浏览器 AJAX 库/框架(最多约 10 kb)?

Can you recommend a lightweight crossbrowser AJAX library/framework (up to ~10 kb)?

推荐答案

你可以通过移除你不需要的模块来使jQuery更小/只需修改Makefile 文件.

You can make jQuery smaller by removing the modules you don't need / Just modify the Makefile file.

相关文章