react.js 是否适合 jQuery/UI 组件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/21030023/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-27 01:24:14  来源:igfitidea点击:

Does react.js play nice with jQuery/UI components

jqueryjquery-uireactjs

提问by KingCode

React (and Om for cljs) looks extremely appealing but I imagine it is probably not possible to use non-React components e.g. jQuery and jQueryUI ones together with React code on the same page/app.

React(以及 cljs 的 Om)看起来非常吸引人,但我想可能无法在同一页面/应用程序上使用非 React 组件,例如 jQuery 和 jQueryUI 组件以及 React 代码。

Can anyone confirm?

有人可以确认吗?

回答by jmingov

Yes, react can play wellwith your libraries.

是的,react 可以很好地与您的库配合使用。

Check out the documentation:Integrating with Other Libraries

查看文档:与其他库集成