jQuery 对向后兼容性的支持如何?

How well does jQuery support backward compatibility?(jQuery 对向后兼容性的支持如何?)
本文介绍了jQuery 对向后兼容性的支持如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们遇到了 Mootools 不能向后兼容的问题,特别是在拖放功能方面.我想知道是否有人对 jQuery 不向后兼容有任何类似的问题.我们开始大量使用它,并正在考虑升级到更新版本以开始使用几个需要它的插件.如果我们摆脱旧版本,我们会有什么问题吗?

We have had issues with Mootools not being very backward compatible specifically in the area of drag and drop functionality. I was wondering if anyone has had any similar problems with jQuery not being backward compatible. We are starting to use it quite heavily and are thinking about upgrading to a newer version to start using several plugins that require it. Will we have any issues if we get rid of the older version?

推荐答案

jQuery 似乎很好地向后兼容.我已经通过几个版本的核心使用它超过几年了,并且在升级时没有遇到问题,除了一些带有一些插件的小问题.我会说核心似乎很好,但如果你使用很多插件,你可能会遇到一些问题(但这些通常很容易修复,或者新核心无论如何都内置了该功能,所以你可以放弃他们).

jQuery seems to be nicely backward compatible. I have been using it for more than a couple of years now through several versions of the core and have not had issues when upgrading except a few minor ones with some plugins. I would say that the core seems to be fine but if you're using a lot of plugins you might run into some problems (but these are usually easy to fix, or the new core has that functionality built in anyway so you can just drop them).

这篇关于jQuery 对向后兼容性的支持如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Update another component when Formik form changes(当Formik表单更改时更新另一个组件)
Formik validation isSubmitting / isValidating not getting set to true(Formik验证正在提交/isValiating未设置为True)
React Validation Max Range Using Formik(使用Formik的Reaction验证最大范围)
Validation using Yup to check string or number length(使用YUP检查字符串或数字长度的验证)
Updating initialValues prop on Formik Form does not update input value(更新Formik表单上的初始值属性不会更新输入值)
password validation with yup and formik(使用YUP和Formick进行密码验证)