azu
azu
Ch4 #5 Promiseのサブクラスの作り方 と UseCase or Libraryについて - https://github.com/cscott/prfun - https://github.com/paulmillr/es6-shim/issues/170 - https://github.com/domenic/promises-unwrapping/issues/87
[sindresorhus/promise-fun: Promise packages, patterns, chat, and tutorials](https://github.com/sindresorhus/promise-fun) 実装の参考になる
http://azu.github.io/promises-book/#promise-is-always-async の補足的な内容として、そもそも何でPromiseは非同期のみなのか? という事について。 逆に言えば、何故同期的な使い方は出来ないのか? についてまとめておきたい。 また、[paldepind/sync-promise](https://github.com/paldepind/sync-promise)のような実装使うことで同期的に扱えそうだけど、それによる問題はあるのか? について --- このIssueの発端: https://twitter.com/azu_re/status/582435534250737665 [ES5の範囲でOption<T>型を表すライブラリ、option-t を作った - snyk_s log](http://saneyukis.hatenablog.com/entry/2015/03/20/191424) みたいな話で、Promise的なインタフェースがあるといいんだけど(別にPromiseを求めてるんじゃなくて標準を求めているという趣旨なんだろうけど)、Promiseは常に非同期になるため使えないという話を聞いたので。
- チェックスクリプト - ビルドスクリプト - デプロイスクリプト と3つに分離して、`make deploy`から && でつなげて実行するように変更したい
[asciidoctor/asciidoctor-epub3](https://github.com/asciidoctor/asciidoctor-epub3) が結構キレイな感じになってきてるのであっても良さそう  - [x] 表示画像 - [iBooksやKindle、koboのePub推奨カバーサイズ | 高橋文樹.com](http://takahashifumiki.com/web/design/2334/) - [x] avatars画像 が必要そう。
表記の統一
書籍の用語の表記のぶれや説明の仕方にぶれがあるので、出来るだけ統一した書き方をする。 - [x] Promise ❌ Promises Promiseという機能について言う時は大文字の単数を使う。 例外としてES6 Promisesの仕様へのリンクを貼る時はsをつけてもよい。 小文字は基本的にpromiseオブジェクトのみにする。 related #7 - [x] thenで登録するコールバック関数 thenで渡すコールバック関数の事 thenで登録するコールバック関数 という書き方を大体してるが、他の書き方の方が分かりやすいかどうか? thenに登録するハンドラ? > thenで登録されたコールバック関数 という表記にする。 - [x] FulFilled または Rejected いわゆるSettledの状態になった時という意味。 短縮しないで、毎回両方の状態について書いてる。 **解決された時**という書き方だと誤解を生みそうだし、Settledという言葉は馴染みがないので毎回書いてるが、より良い表現はないかどうか?...
#290 HTTPSに移行後にService Workerでオフライン対応する
http://azu.github.io/promises-book/#promise-sequence Async FunctionやAsync Iteratorを使うことでもう少し直感的に書けるようになる。
https://github.com/defunctzombie/zuul is unmaintainced. We want to replace zuul to another testing library.
Image: ```js export const fn = () => { const state = useSelector(storeGroup => storeGroup.someStore.state) } ``` ## Related - [Hooks · React Redux](https://react-redux.js.org/next/api/hooks#hooks)