Files
stack/packages/stack-idealjs/docs/web/archive/post-7.md
T

20 lines
702 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
sidebar_position: 7
---
# 模块和库
软件工程领域存在大量的模块和库,目的是为了更方便的维护软件。
在前端领域中,经过多年的实践,得出了 —— 构建的实践方式。
构建即,编写时采用 A 的方式,经过构建后得到 B 的产物。
前端的构建后产物依旧是 HTML + CSS + JS。
而编写时的方式有很多,比如比较流行的 Webpack(构建+打包)+ Typescript (JS 的超集)+ React/Vue
React/Vue 的组成比较复杂。也正是这些复杂的部分,推进了这些库的诞生。
用一句话来概括,当你需要一些可以减少开发量,减少维护难度的库时,可以采用 React/Vue