Replacing jQuery with Vanilla JavaScript

所在平台: Udemy

课程主页: https://www.udemy.com/course/not-jquery/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:用原生 JavaScript 替换 jQuery 课程概述: 您是否还在犹豫是否要在新项目中使用 jQuery?jQuery 的优势在哪里?现在是否仍然需要它?本课程将为您解答这些问题。 课程专注于介绍最新的 JavaScript 和浏览器机制,这些新机制可以有效地替代 jQuery 的功能。我们将深入探讨 `classList`、`querySelector`、`forEach`、`dataset`、`URLSearchParams`、`fetch`、`Promise` 以及展开运算符(spread operator)等实用工具。 此外,课程还将介绍一些额外的功能和工具,它们即使与 jQuery 结合使用也能带来好处,例如 `async/await` 和 `Animate.css`。 您将了解到 GitLab 和 GitHub 等知名公司已经从其前端项目中移除 jQuery 的案例。特别是 GitHub,从 jQuery 转向了 Web Components,这部分内容将在课程中得到详细讲解。 最后,课程还将探讨如何解决前端开发中的一个重要挑战:实现完全的跨浏览器兼容性和旧浏览器支持(包括 IE8)。通过 Polyfills、Babel 或 TypeScript,这一切都是可行的!课程会提供一个实例项目,并进行详细的解释,帮助您掌握这些技术。

课程评论(0条)

课程详情

How about jQuery? I think all the front-end developers have heard about the library using dollar sign as its main function...Should we include jQuery in the new project? Is this still needed? In what cases? What were the advantages of jQuery and are they still important?This course focuses on the newest JavaScript and browsers mechanisms, which can replace jQuery:classList, querySelector, forEach, dataset, URLSearchParams, fetch, Promise, spread operatorIt also shows additional features and tools, which can help even together with jQuery, e.g. async/await or Animate.css.There are well-known examples of the companies removing jQuery from their front-end parts. GitLab and GitHub to name a few. Moreover, the latter one switched from jQuery to Web Components, which are explained in detail in one of the course sections.At the end of the course, you can find a solution for one of the biggest front-end problems - how to achieve a fully cross-browser solution and old browsers support (yes, including IE8). It's doable thanks to polyfills and Babel or TypeScript. And the example project is well-explained in the course.

课程标签

0人关注该课程

主题相关的课程