Giter Site home page Giter Site logo

Comments (21)

justqyx avatar justqyx commented on July 20, 2024 6

有许多基于 jQuery 的库,这才是还在继续使用 jQuery 的重要原因

from blog.

mujan5427 avatar mujan5427 commented on July 20, 2024 2

@camsong 「重构就是前后端运行同一份代码」這句有錯字

應該將「重构」改成「同构」

from blog.

michealzh avatar michealzh commented on July 20, 2024 1

cool

from blog.

 avatar commented on July 20, 2024

mark and it's a good share

from blog.

fritx avatar fritx commented on July 20, 2024

whatzzzzzzup

from blog.

shiqin avatar shiqin commented on July 20, 2024

好!

from blog.

Ellacf avatar Ellacf commented on July 20, 2024

cool

from blog.

aoto avatar aoto commented on July 20, 2024

querySelectorAll的性能问题需要关注

from blog.

shuizhongyueming avatar shuizhongyueming commented on July 20, 2024

jquery 2.0往上的版本, 不是也抛弃老的浏览器了吗, 而且jQuery本身也是支持自定义打包了. 不过针对使用React的场景, 是的确没有用jQuery的必要性了

from blog.

zhanglun avatar zhanglun commented on July 20, 2024

赞同

from blog.

liushooter avatar liushooter commented on July 20, 2024

VanillaJS 就不错 哈哈 🎱

from blog.

comeontom avatar comeontom commented on July 20, 2024

good

from blog.

sunlanda avatar sunlanda commented on July 20, 2024

sizzle太方便 不过相比市面上越来越成熟的框架和工具 dom操作就显得不够最优解了

from blog.

tangkunyin avatar tangkunyin commented on July 20, 2024

时代变化的真快 啊

from blog.

HuangHongRui avatar HuangHongRui commented on July 20, 2024

Mark~ :octocat:

from blog.

bhaltair avatar bhaltair commented on July 20, 2024

直接的dom操作尽量减少

现在用vue 而是通过虚拟dom的形式来操作domdiff jquery已经很少用到了 DOM都很少直接操作了

Sent from my HUAWEI VTR-AL00 using FastHub

from blog.

leixu2txtek avatar leixu2txtek commented on July 20, 2024

前几天,看到百度发布的 san mvvm 框架 ,表示支持 IE6-8 我眼前一亮

from blog.

yinfan9527 avatar yinfan9527 commented on July 20, 2024

Mark ~~

from blog.

shern91 avatar shern91 commented on July 20, 2024

因为有用着twitter bootstrap CSS framework的关系,有些component需要用到jquery来操作,比如说开启和关闭modal,有什么比较好的办法来代替 $('#myModal').modal('show' )吗?

from blog.

renntbenrennt avatar renntbenrennt commented on July 20, 2024

@shern91 目前bootstrap组正在弄着的第5版就是不需要jQuery的了。其实在实际开发中,要实现这个modal的关闭启动并不麻烦吧。找到对应元素:如果还是操作dom,就直接 querySelector(), 如果是结合vue, react之类的,应该也不会是什么问题。

from blog.

renntbenrennt avatar renntbenrennt commented on July 20, 2024

我才发现这篇文章发了已经很久了。。。。然后那个评论是在18年的。。。。sorry....

from blog.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.