20190321_jeffrey - silenceuncrio/diary GitHub Wiki

0905

找一些文章來理解 javascript 的 functional programming

1010

1545

commit 5ffcba077552042cae660b27d9d43dac136645e4
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Thu Mar 21 15:43:01 2019 +0800

    react practice:
    - abstract the logic of 'Fetcher' from functions

 proscend/prosrc/www/react_01/.env                  |  1 +
 .../www/react_01/src/components/Fetcher/index.js   | 77 ++++++++++++++++++++++
 .../react_01/src/components/Function01/index.js    | 74 +++------------------
 .../react_01/src/components/Function02/index.js    | 69 ++++---------------
 .../react_01/src/components/Function03/index.js    | 70 ++++----------------
 5 files changed, 114 insertions(+), 177 deletions(-)

越寫 react 越搞不清楚繼續走這條路究竟對或不對

對 ES6 javascript 越了解使沒錯

可是完全沒有之前寫網頁的感覺

好像是再寫一個截然不同的東西