Patterns for Managing Source Code Branches
Modern source-control systems provide powerful tools that make it easy to create branches in source code. But eventually these branches have to be merged back together, and many teams spend an inordinate amount of time coping with their tangled thicket of branches. There are several patterns that can allow teams to use branching effectively, concentrating around integrating the work of multiple developers and organizing the path to production releases. The over-arching theme is that branches should be integrated frequently and efforts focused on a healthy mainline that can be deployed into production with minimal effort.
推荐:皮成
Nodejs 进阶:crypto 模块中你需要掌握的安全基础知识
crypto 模块是 nodejs 的核心模块之一,它提供了安全相关的功能,如摘要运算、加密、电子签名等。很多初学者对着长长的 API 列表,不知如何上手,因此它背后涉及了大量安全领域的知识。
本文重点讲解 API 背后的理论知识,主要包括如下内容:
- 摘要(hash)、基于摘要的消息验证码(HMAC)
- 对称加密、非对称加密、电子签名
- 分组加密模式
推荐:梁诗棋
前端工程化 - 剖析 npm 的包管理机制
本文从三个角度:package.json、版本管理、依赖安装结合具体实例对 npm 的包管理机制进行了详细分析。
推荐:郑明远
JavaScript Visualized: Promises & Async/Await
Ever had to deal with JS code that just... didn't run the way you expected it to? Maybe it seemed like functions got executed at random, unpredictable times, or the execution got delayed. There's a chance you were dealing with a cool new feature that ES6 introduced: Promises!
推荐:李红亮
干货 | 携程机票前端 UI 自动化与持续集成升级实践
随着携程机票 APP 全流程由 Native 技术栈转向RN(React Native,以下均称RN),同时引入了 BDD 的敏捷开发模式,以应对日益增长的产品需求。高速的开发迭代过程中,如何确保稳定且可持续的交付质量,显得尤为重要。本篇旨在介绍携程机票 APP 主流程团队使用与升级持续集成/持续交付(以下均称 CI/CD)来兼顾前端开发高效率及高质量的实践。
推荐:王明全
No, disabling a button is not app logic.
We'll explore this with a simple example: fetching data in a React component. Keep in mind, the ideas presented in this article are not library-specific, nor framework-specific... in fact, they're not even language specific!
推荐:潘易谦
前端进阶算法5:全方位解读前端用到的栈结构(+leetcode刷题)
本节从栈结构开始延伸到浏览器中 JavaScript 运行机制,还有存储机制上用到的栈结构及相关数据结构,一文吃透所有的前端栈知识。
推荐:袁丁
细致分析,尤雨溪直播中提到 vue 3.0 diff 算法优化细节
vue 3.0 重写了 virtual dom,编译模板有了很大的优化,组件初始化会更加有效率。对比 vue2 有 1.3 到 2 倍的性能提升,服务器渲染有2到3倍的的提升。
推荐:朱盟
可视化搭建页面,你会遇到这 143 个问题么
第三届前端早早聊技术大会精彩问题锦集
推荐:蔡璐麒
webpack 构建速度和体积优化策略
通过初级分析、速度分析、体积分析等多维度进行 webpack 的构建速度和提及优化
推荐:单滨滨
一个好的组件应该是什么样的?
随着“微前端”概念的不断酝酿,越来越多的团队开始将自己的业务处理为不同的组件,编排到一个业务页面中去,因此对组件的维护将会变得越来越重要。对于大部分前端在组件开发上都会遇到的问题和痛点,本文将分享作者在组件开发上的一些思考以及应该如何维护自己的组件库。
推荐:闪朔、左现金
React.js 性能分析
向大家演示如何使用 React Profiler API、Tracing API 以及 User Timing API 来分别追踪 React 的组件渲染、用户交互以及自定义性能指标。
推荐:张戈
web 图像技术:前端引入图片的各种方式及其优缺点
在本文中,我们会学习引入图像的各种方式,以及每种方式的优点和缺点,以及何时使用和为什么使用它们。
推荐:赵海颖