- 自分たちの書いたJSのコードのみのエラーを監視する方法は?
- ぶっちゃけ Reactivity が嬉しいシーンてそんなに多いの?
- 単にツールが有名で強力なものに揃っている方が採用、育成も含めて有利ってだけ?
- VirtualDOM のデメリットは?
- TypeScript 導入するとぶっちゃけコード書くの早くなる?遅くなる?
- type の定義方法に決まりはある?
- JSX って本当によい? tagged literal
html``
で十分では? - CSS はもう素朴に custom property と簡単な Scss 程度でよくない?
- 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
#! /usr/bin/awk -f | |
# | |
# Usage: | |
# biome lint --colors off 2>&1 | awk | |
# | |
# | |
# filename | |
# |
https://mdn.github.io/dom-examples/web-speech-api/speak-easy-synthesis/ を試す。
一定以上の長さになると途中で speak が切れる現象が発生する。
完了 | OS | ブラウザ | Voice |
---|---|---|---|
failure | macOS 13.6 | Chrome 119 | Google 日本語 ( ja-JP ) |
success | macOS 13.6 | Chrome 119 | Kyoko ( ja-JP ) |
success | macOS 13.6 | Safari 17.0 | Kyoko ( ja-JP ) |
success | Android 10 | Chrome 119 | Google 日本語 ( ja-JP ) |
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
import { globby } from 'globby' | |
const IGNORE = [ | |
'!node_modules/**/*.*', | |
'!bower_components/**/*.*', | |
'!**/*.test.{js,ts}', | |
'!**/*.suite.{js,ts}', | |
'!**/*.config.{js,ts}', | |
'!**/*.d.ts', | |
]; |
以下は Storybook 7.4+ / CSF 3+ を想定。
- 動作についてはなんとかしているものとする[^1]
- story の export default で
tags: ['autodocs']
か ./storybook/main.js でdocs: { autodocs: true }
- JSDoc をいい具合に書く
- Custom Elements Manifest Analyzer で manifest を生成する
- Manifest を Storybook の config で読み込む
JavaScript の Date の扱いが面倒という話。
個人的には
結局中身は UTC の unixtime ですよと言われれば、あーなるほどという感じ
かなと思うんだけど、一方で以下の部分がつらいなと思った。
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
#! /bin/sh | |
SRC=$1 | |
DEST=`basename ${SRC} .svg`.png | |
resvg --dpi 350 --zoom 2 --background '#ffffff' $SRC $DEST |
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
#! /bin/sh | |
asciidoctor -r asciidoctor-diagram --backend docbook --out-file - $1 | \ | |
pandoc --from docbook --to docx --reference-doc simple-doc.docx --output `basename $1 .adoc`.docx |
NewerOlder