I
I
IsaevDev2015-12-11 02:46:28
JavaScript
IsaevDev, 2015-12-11 02:46:28

Is it really possible to "truncate" JQuery?

Is it worth trying to trim jquery?

Let's say there is a task - to make a service connected to the client's website (such as a metric or a chat form) so that it is loaded from the client's server
I want to use some jquery functions, but not carry all this footcloth with me every time
For example, leave only ajax and work with a tree
What do you think , is it really possible to do this or is it all tied up rigidly?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
N
Nikita Baev, 2015-12-11
@IsaevDev

Here you can build jQuery as you need → projects.jga.me/jquery-builder

A
Alexander Zubarev, 2015-12-11
@zualex

sprint.js is a very fast jQuery like library 5KB (gzipped).
e9aff5f2668d45cb9cfd029a949c24f1.png

K
kidar2, 2015-12-11
@kidar2

To work with the tree, use the native function querySelector (if you are talking about searching in the dom tree by css selector), and for ajax it is easy to write your own wrapper.
And jQuery is not needed at all.

R
Rikcon, 2015-12-11
@Rikcon

zeptojs.com
100% jquery compatible, modular structure, rip what you want, how you want.

D
Dmitry Kunin, 2015-12-17
@DIKunin

May ditch jquery altogether - there are lightweight alternatives to the most used things in jquery - for example:
blissfuljs.com - work with DOM
https://github.com/visionmedia/superagent - ajax

E
Evanre, 2015-12-17
@Evanre

www.jqueryconfig.com jQuery configurator, exactly what you need.

M
mobi, 2015-12-17
@mobi

There is also https://github.com/webpro/DOMtastic

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question