limichange / blog-v6 Goto Github PK
View Code? Open in Web Editor NEWHome Page: blog-v6.vercel.app
Home Page: blog-v6.vercel.app
本文全文想法来自于 https://bradfrost.com/blog/post/design-system-versioning-single-library-or-individual-components/
这个不是翻译。
This post breaks down the pros and cons of versioning the whole library vs individual components.
比如 ant design 是一个大的整体发布,所有组件在一个仓库里管理,而 atlaskit 则是把每一个组件完全的独立开,独立发布,独立版本号。我们来简单的讨论一下这两个方式的优缺点。
we favor versioning the library as a whole rather than individual components
我们倾向于将库作为一个整体而不是单个组件进行版本管理。
design tokens and icons can often operate a bit independently of a component library
可以把 design token 和 icon 独立出来,因为他们都是无依赖的。而且很多时候需要把 design token 生成 css 代码或者 js 代码,独立出来更加灵活。
While these conversations tend to focus on the technical implementation, it’s important to recognize that (like most design system challenges) these are ultimately people problems. Focus on the relationship between library maintainers and library users, and establish sound processes and governance models to build trust in the system and its team.
最终还是为了好用,整个开发流程需要良性循环,不需要那么纯技术。
可以适当的组合。
组件库也分相当多的种类,还是得看具体的实施情况,包括人员的配置。有些特殊的比如 headless component library 其实可以完全独立开,但是单体开发好像也行,所以无所谓了。而且整体发布的组件库数量远超独立发布,我现在还只见过 atlaskit 和 react-component。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.