azu
azu
React will introduce `static getDerivedStateFromNextProps` instead of `componentWillReceiveProps`. https://github.com/reactjs/rfcs/pull/6 Almin has similar problem about `Store#receivePayload(payload)`. We want to think about `receivePayload` design. ## Problem - `Store#receivePayload` is not async safe...
`UseCaseExecutor#executor` has been introduced as a workaround of " TypeScript: improve UseCase#execute typing #107 ". In Almin 0.18+, `UseCaseExecutor#execute` type will be complete in #355 > 📝 Require TypeScript 3.0+...
Almin includes some warning checker. - [almin/StoreGroupEmitChangeChecker.ts at f4474aa287af8cc3511f27737624bd5b16ceef08 · almin/almin](https://github.com/almin/almin/blob/f4474aa287af8cc3511f27737624bd5b16ceef08/packages/almin/src/UILayer/StoreGroupEmitChangeChecker.ts) - [almin/StoreGroupChangingStoreStrictChecker.ts at c2c676825b979b810bab6e431f115d897ac6a3fd · almin/almin](https://github.com/almin/almin/blob/c2c676825b979b810bab6e431f115d897ac6a3fd/packages/almin/src/UILayer/StoreGroupChangingStoreStrictChecker.ts) This warning message should be document like https://almin.js.org/docs/en/warning-usecase-is-already-released.html ## Tasks - [ ]...
Currently, store implement can receive only - DidExecutePayload - UserDefinedPayload - CompletePayload This is implicitly defined. We want to move the definition to user land. In other word, almin use...
We often write following Store and State class pattern. It should be documentation as implementation example. ```ts class MyState { update(){} } class MyStore extends Store{ constructor(){ super(); this.state =...
Current test are complex. We want to refactor it. - Convert LogGroup to JSON - Snapshot test to the JSON
Currently, almin use [map-like](https://github.com/azu/map-like "map-like"). We have noticed that React 16 (RC) depended on native Map and Set. > React 16 depends on the collection types Map and Set. >...
This is good idea 💡 - https://github.com/babel/babel/issues/4959 - https://twitter.com/cramforce/status/910489995617562624 - https://arc.codes/intro/limits This is related with [Principle](https://github.com/almin/almin/blob/master/docs/introduction/principle.md "Principle").
It can reduce file size because prevent duplicated helper function like `__extends` ```json "noEmitHelpers": true, "importHelpers": true ``` - https://www.typescriptlang.org/docs/handbook/compiler-options.html