Comments (21)
有许多基于 jQuery 的库,这才是还在继续使用 jQuery 的重要原因
from blog.
@camsong 「重构就是前后端运行同一份代码」這句有錯字
應該將「重构」改成「同构」
from blog.
cool
from blog.
mark and it's a good share
from blog.
whatzzzzzzup
from blog.
好!
from blog.
cool
from blog.
querySelectorAll的性能问题需要关注
from blog.
jquery 2.0往上的版本, 不是也抛弃老的浏览器了吗, 而且jQuery本身也是支持自定义打包了. 不过针对使用React的场景, 是的确没有用jQuery的必要性了
from blog.
赞同
from blog.
VanillaJS 就不错 哈哈 🎱
from blog.
good
from blog.
sizzle太方便 不过相比市面上越来越成熟的框架和工具 dom操作就显得不够最优解了
from blog.
时代变化的真快 啊
from blog.
Mark~
from blog.
直接的dom操作尽量减少
现在用vue 而是通过虚拟dom的形式来操作domdiff jquery已经很少用到了 DOM都很少直接操作了
Sent from my HUAWEI VTR-AL00 using FastHub
from blog.
前几天,看到百度发布的 san mvvm 框架 ,表示支持 IE6-8 我眼前一亮
from blog.
Mark ~~
from blog.
因为有用着twitter bootstrap CSS framework的关系,有些component需要用到jquery来操作,比如说开启和关闭modal,有什么比较好的办法来代替 $('#myModal').modal('show' )吗?
from blog.
@shern91 目前bootstrap组正在弄着的第5版就是不需要jQuery的了。其实在实际开发中,要实现这个modal的关闭启动并不麻烦吧。找到对应元素:如果还是操作dom,就直接 querySelector(), 如果是结合vue, react之类的,应该也不会是什么问题。
from blog.
我才发现这篇文章发了已经很久了。。。。然后那个评论是在18年的。。。。sorry....
from blog.
Related Issues (17)
- 还在纠结 Flux 或 Relay,或许 Redux 更适合你 HOT 11
- 看完代码量之后~~~我还是继续用jq吧。。明显代码少很多
- 给2019前端的5个建议 HOT 13
- 为什么 Number.MAX_VALUE 最多只有 2^1023
- 100万行代码是怎样的体验? HOT 3
- 解读 React Conf 2021
- 从 VS Code 的历史中可以学到的经验
- 我们应该如何用好 AI?从 ChatGPT 到编程语言、大数据、前端
- 服装品牌应该怎么做 HOT 1
- 传统 Ajax 已死,Fetch 永生 HOT 123
- Immutable 详解及 React 中实践 HOT 59
- CSS Modules 详解及 React 中实践 HOT 53
- React 最佳实践 HOT 5
- fetch兼容IE9 HOT 1
- 精读前后端渲染之争 HOT 21
- JavaScript 浮点数陷阱及解法 HOT 99
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blog.