TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Removing jQuery from GitHub.com front end

71 pointsby brianmarioover 6 years ago

9 comments

kodablahover 6 years ago
Previous discussion on same topic but different posted link: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17612540" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17612540</a>
评论 #17929951 未加载
brendanrover 6 years ago
The transition to CSS transitions seems primitive to me. <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;CSS&#x2F;CSS_Animations&#x2F;Using_CSS_animations" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;CSS&#x2F;CSS_Animati...</a> makes it sound very much like a fire-and-forget approach.<p>My concern, also when building UI with React, is that web design is often only interested in end-state of an interface, playing a bunch of fire-and-forget animations to transition between states.<p>The reality, that only games and Apple seem to have embraced, is that it&#x27;s far more sophisticated for animation to reflect a state that can change at 60 or even 120 frames per second, depending on what the user is doing.<p>This is a great presentation from Apple, Designing Fluid Interfaces, that captures the concept: <a href="https:&#x2F;&#x2F;developer.apple.com&#x2F;videos&#x2F;play&#x2F;wwdc2018&#x2F;803&#x2F;" rel="nofollow">https:&#x2F;&#x2F;developer.apple.com&#x2F;videos&#x2F;play&#x2F;wwdc2018&#x2F;803&#x2F;</a><p>Am curious: have any web frameworks embraced this approach?
评论 #17929374 未加载
1_800_UNICORNover 6 years ago
I love the detail-oriented approach to this. Tracking jQuery usage and slowly removing components from their custom jQuery library are both really clever strategies.
评论 #17930404 未加载
ghiculescuover 6 years ago
&gt; Set up metrics that tracked ratio of jQuery calls used per overall line of code and monitored that graph over time to make sure that it’s either staying constant or going down, not up.<p>Would love to know how this was done.
评论 #17929324 未加载
评论 #17929314 未加载
评论 #17929290 未加载
russellbeattieover 6 years ago
I don&#x27;t use jQuery anymore, but damn do I miss the simplicity of fadeIn() and fadeOut(). Trying to do the same with CSS transitions is much more complicated and brittle.
评论 #17929413 未加载
appleiigsover 6 years ago
I haven’t removed jquery from my website because it’s probably the least bad code to deal with. With Github’s complicated website, maybe they have bigger fish to fry?
symlinkkover 6 years ago
&gt; Having static type checking helped us have greater confidence around those refactorings<p>Does Github use TypeScript?
评论 #17929194 未加载
评论 #17929195 未加载
brianmarioover 6 years ago
Curious why this was marked as a dupe?
rpwverheijover 6 years ago
nice list of polyfils at the bottom! Didn&#x27;t know about `closest` yet for example.