-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #129 from nash1111/blog-post-part1-deps-less-ui
feat: add blog post
- Loading branch information
Showing
7 changed files
with
89 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
title: UIライブラリ作り始めました | ||
description: UIライブラリ作り始めました | ||
published: 2024-08-29 | ||
tags: ["Design", "Frontend"] | ||
thumbnail: /blogthumbnails/17.jpg | ||
--- | ||
|
||
## 作っているもの | ||
[deps-less-ui](https://github.com/nash1111/deps-less-ui) | ||
[storybook](https://nash1111.github.io/deps-less-ui) | ||
|
||
## 特徴 | ||
- 依存関係がない | ||
参照 [package.json](https://github.com/nash1111/deps-less-ui/blob/master/package.json) | ||
|
||
|
||
## 方針 | ||
- 依存関係がない状態を保つ | ||
- storybookが壊れた時に対処したくないため | ||
- CSSの実装力を高めるため | ||
- 個人のプロジェクトで必要となったコンポーネントだけを実装する | ||
|
||
## 直近のTODO | ||
- chromatic導入 | ||
- アルファリリースに対応する | ||
- 現在はmasterがリリース可能なら常に自動リリースする | ||
- BlogCardを並べる用のコンポーネント | ||
- BlogCardとは別に、EnhancedBlogCardコンポーネントを作る | ||
- 現在のBlogCardは、全体をLink要素で包んでおり、例えばタグなどだけをクリックしたい場合に対応できていない | ||
- これに対応するために、コンポーネントを受け取るコンポーネントとする | ||
|
||
## 動機 | ||
- 新規で作るには、どうせなら自分の好みのUIにしたいため | ||
- Storybookを使ってみたかったため | ||
- shadcn/uiに頼り切りになってしまい、CSSの実装力が落ちていっているのを体感しているため | ||
- 一つのプロダクトに一つはUIライブラリはあるべきと思い始めたため | ||
- UIライブラリが存在しない場合 | ||
- フロントの実装にコストが生じてしまい、「せっかく実装したから...」というサンクコストも発生してしまう | ||
- サンクコストに囚われて、プロダクトの価値について考える時間が奪われてしまう可能性がある | ||
- デザインの統一感がなくなってしまう | ||
|
||
## 現状の使いみち | ||
- とりあえず、BlogCardを生やしてshadcn/uiのカードを置き換えました |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export const lastUpdated = "2024-08-29T08:07:38"; | ||
export const lastUpdated = "2024-08-29T10:10:46"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters