azu

Results 815 comments of azu

cancelのやつをAbortControllerに合わせたほういいのかなー 似てはいるけどAPIが違う

まずGeneratorの解説から必要なやつですね。 ユースケースとしてはクローラーとか状態を持った非同期処理の逐次処理がありますね #289

async generatorを使ったwatchの例。 - [fs: add fsPromises.watch() by jasnell · Pull Request #37179 · nodejs/node](https://github.com/nodejs/node/pull/37179)

setIntervalでasyncを使った実装 - [timers: introduce setInterval async iterator by Linkgoron · Pull Request #37153 · nodejs/node](https://github.com/nodejs/node/pull/37153)

[User-Agent Client Hints spec](https://wicg.github.io/ua-client-hints/) define HTTP request header and JavaScript DOM API. Latest spec and Chrome 82+(canary) remove `navigation.getUserAgent()` JavaScript API and introduce `navigation.userAgentData` object. [`NavigatorUAData`](https://wicg.github.io/ua-client-hints/#navigatoruadata) return low entropy values...

As proof of concept(PoC), I've created [eslint-plugin-typescript-compat](https://github.com/azu/eslint-plugin-typescript-compat) to resolve this issue. This rule use TypeScript compiler and lint TypeScript codebase. For example, TypeScript Compiler know `arr1` is `Array` instance type....

Note: Current Store has `onDispatch` and `receivePayload` lifecycle method. - `onDispatch`: call it when some `UseCase#dispatch` - `receivePayload`: call it when some `UseCase#dispatch`, did execute, and complete execute New design...

- [map, reduce もいいけど transduce もね - Qiita](https://qiita.com/41semicolon/items/666a3ff1c226828ecdb2) - [cognitect-labs/transducers-js: Transducers for JavaScript](https://github.com/cognitect-labs/transducers-js) - [talk-transcripts/Transducers.md at master · matthiasn/talk-transcripts](https://github.com/matthiasn/talk-transcripts/blob/master/Hickey_Rich/Transducers.md) It is related reducer design.

getDerivedStateFromProps design guide [You Probably Don't Need Derived State - React Blog](https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html)

React announce new design for life-cycle. * [RFC: React Hooks by sebmarkbage · Pull Request #68 · reactjs/rfcs](https://github.com/reactjs/rfcs/pull/68 "RFC: React Hooks by sebmarkbage · Pull Request #68 · reactjs/rfcs") *...