profile
viewpoint
Eddy Chang eyesofkids Techpro.Taiwan Taipei, Taiwan eddychang.me

eyesofkids/ironman2017 140

for IThome ironman 2017

eyesofkids/javascript-entry-level-es6 15

For gitbook: javascript-entry-level-es6

eyesofkids/javascript-style-guide-translate 12

Translate from other javascript style guide

eyesofkids/joomla3-zhtw-translate 8

Chinese Traditional(zh-TW) language translation for Joomla! 3.x

eyesofkids/learing-reactjs-by-example 6

react-boilerplate for learning React

eyesofkids/epiceditor-for-joomla 5

EpicEditor for Joomla! and others plugins, useful addons.

eyesofkids/javascript-es6-promise 5

JavaScript ES6 Promise Tutorial Gitbook

eyesofkids/atom-packages-list 4

Atom Editor packages list file for bulk installed extensions quickly.

eyesofkids/1003 3

iii edu 1003 course

eyesofkids/Developing_iOS_8_Apps_With_Swift 2

Stanford 公开课,Developing iOS 8 Apps with Swift 字幕繁體中文校對

push eventeyesofkids/u227

Eddy Chang

commit sha 6a6e5ae36879c4480a650853620278e3333d2137

Update tourData.js

view details

push time in 8 minutes

push eventeyesofkids/u227

Eddy Chang

commit sha 527844aa306fe40c9839e8abd5c30dd1ef7a2e73

add

view details

push time in 11 minutes

push eventeyesofkids/u227

Eddy Chang

commit sha 15727ac23d81770a56dd02c2fa743c20a574b4bd

add

view details

push time in 19 minutes

push eventeyesofkids/201

Eddy Chang

commit sha 1a4540d01051628398fb5df7d1b7ab43e7a178f6

add ignore

view details

push time in 20 hours

MemberEvent

push eventeyesofkids/201

Eddy Chang

commit sha f28cd8e316f5a3d60a712b5e8625e1825a05572d

add

view details

push time in 21 hours

create barncheyesofkids/201

branch : master

created branch time in a day

created repositoryeyesofkids/201

created time in a day

push eventeyesofkids/u227

Eddy Chang

commit sha 495bd11e755f5107a241e47842507044429fa7eb

up

view details

push time in 7 days

issue openedeyesofkids/u227

react-native啟動錯誤()

https://github.com/facebook/react-native/issues/26598

created time in 7 days

push eventeyesofkids/u227

Eddy Chang

commit sha 9b128785d28496dcb118143fd01a77f135380a61

Update helloworld.md

view details

push time in 7 days

push eventeyesofkids/u227

Eddy Chang

commit sha 42b665bb35f93e1a7f09e8d513f9eb8a331608c1

Delete ar介紹-座標系統.key.pdf

view details

push time in 7 days

push eventeyesofkids/u227

Eddy Chang

commit sha 2dc82f28352cc994fce9d505cc5d363526c9d129

UP

view details

Eddy Chang

commit sha bbaf068328f65cc3a9499dd89c3dcc35e7bde9fa

Merge branch 'master' of https://github.com/eyesofkids/u227

view details

push time in 7 days

push eventeyesofkids/u227

Eddy Chang

commit sha c247898a10f48157189c73b35f11584dc86db68a

Create ar介紹-座標系統.key.pdf

view details

Eddy Chang

commit sha 9310b2ceb376dc50fb53e8066904aa08e59f7090

Merge branch 'master' of https://github.com/eyesofkids/u214

view details

push time in 7 days

push eventeyesofkids/u227

Eddy Chang

commit sha 3e487a41e2f08653a05073c4ebd4c99359ea55a2

u

view details

push time in 13 days

push eventeyesofkids/u227

Eddy Chang

commit sha c5f9fda57b647e77cbc41783db78fa89c1c76c3f

up

view details

push time in 14 days

push eventeyesofkids/u227

Eddy Chang

commit sha f7c7775de255ba66b8080b679ee71ac035d30b2b

U

view details

push time in 14 days

push eventeyesofkids/u227

Eddy Chang

commit sha 590257a444c6782da0f99f87c84d979e4d012c15

Create App.js

view details

push time in 14 days

push eventeyesofkids/u227

Eddy Chang

commit sha 2f3b7613c7a4d3272da497f9a16133158419d0c1

Create index.js

view details

push time in 14 days

push eventeyesofkids/u227

Eddy Chang

commit sha 7899dc8ddc2e19787af6e7e22f0d9b089a81c28f

Create App.js

view details

push time in 14 days

push eventeyesofkids/u227

Eddy Chang

commit sha 46f12d1a414e8d2766d6bb0571f92d8ae8238dc2

Create App.js

view details

push time in 14 days

push eventeyesofkids/u227

Eddy Chang

commit sha 9c6db7bc7c58f152a07bc49bdf8b995de21bb753

U

view details

push time in 14 days

push eventeyesofkids/u227

Eddy Chang

commit sha 05c1e577041f7ccc48a82cde2f0815fdafd741d1

Create App.js

view details

push time in 14 days

push eventeyesofkids/u227

Eddy Chang

commit sha 385d49041ed3a39f713f81a8940f530a35fd9ce8

Create App.js

view details

push time in 14 days

push eventeyesofkids/u227

Eddy Chang

commit sha 139bb45ff5c6de5243ed3775bed888f533068e02

Create app.json

view details

push time in 14 days

issue openedeyesofkids/u227

Google Map應用

expo init fgu-map 
expo install react-native-maps

created time in 14 days

startedmicrosoft/TypeScript-Node-Starter

started time in a month

startedGoogleChromeLabs/jsbi

started time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha 2f49b28890e94da384a1107924c5a27b87fee8d2

up

view details

push time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha 8900d9d65944b7ab69f70ebc3d20ffa2fac69a73

add

view details

push time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha 54511c7776a33abb86fd03d202397d19eff76210

add

view details

push time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha 876148691e95ef6791d654f74d9657ae2eed2de9

up

view details

push time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha e72bf48d6f5eb17be1665130d1844ffec76c6acf

up

view details

push time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha 72b84d8ab36389d7626a27afc4fa08368ec502e9

add

view details

push time in a month

issue openedeyesofkids/u227

RN paper共通平台介面庫安裝

yarn add react-native-paper
yarn add react-native-vector-icons

created time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha 1a5f453cb7c023e94f3543fcb19018824e061f59

UP

view details

push time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha 5784a51d4fc55d4e52335335f5298a97414e7408

up

view details

push time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha 9da86a55d1e36663946f9b1822ff6dc13a5ffb2a

add

view details

push time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha 7efcc8599ce6be413ea6e283f263893830f4cac4

UP

view details

push time in a month

push eventeyesofkids/react-env

Eddy Chang

commit sha ec9476f1e403a85ac48e9e0950a7d9cd06d539bc

up / add react native

view details

push time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha 1a6b545fb982564fe125b47f2cb5349491ccf3df

UP

view details

push time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha 8bb233e89cc51035a2a08a966731ca08cafb72c9

add

view details

push time in a month

issue commenteyesofkids/u227

RN導覽與共通平台介面庫

react-native-elements

https://react-native-elements.github.io/react-native-elements/docs/getting_started.html

yarn add react-native-elements
eyesofkids

comment created time in a month

issue openedeyesofkids/u227

RN導覽與共通平台介面庫

yarn add react-navigation
expo install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view

created time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha d2f71f9d942651b0e1f01f78ff0b18d609733e6a

Create nav_intro.pdf

view details

push time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha e4f9fa6f0cb8ed3b4c713a72588533f16d00cfa3

ADD

view details

push time in a month

starteddesktop/desktop

started time in a month

issue openedeyesofkids/1003

[補充]如何發問程式碼的問題

使用Gist

Gist 是 Github 的一個子服務,且任何人都可以使用這個服務,不論你是否擁有 Github 帳號。以開發者的角度來說,最基本的功能就是可以分享片段的原始碼。有別於 Github 的 Repository,Gist 可以只分享專案中的某一個小檔案中的程式碼,且擁有私人的選項,讓別人不會搜尋到你的 Gist。Gist 是免費的服務。

使用line之類的通訊軟體

結合程式碼的工具,如gist或自己開一個github的issue或repo(儲存庫)

其它Code沙盒的線上免費工具

  • (react專案推薦): https://codesandbox.io/
  • https://codepen.io/
  • https://jsfiddle.net/
  • https://jsbin.com/

created time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha fbc7ef961ed922844c067b857a2571abd42677a1

Create App.js

view details

push time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha af826b80e82d7027e92007e141f2a7efef6496f1

Create App.js

view details

push time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha 200a3425e43a5002bcc185c1ddfdd1165ef46102

Create pois.json

view details

push time in a month

issue openedeyesofkids/u227

0421-課堂用的軟體

  • https://www.postman.com/

created time in a month

push eventeyesofkids/u227

Eddy Chang

commit sha 02a5491086fa0e60f448c6b4ff2395f4faa86a6a

add

view details

push time in a month

issue openedeyesofkids/1003

[補充]Redux - 初始化載入一開始網站的狀態 - initial state async

說明

要從fetch載入初始化資料是有技巧的,最基本有兩種邏輯:

  • 在store建立"前"載入
  • 在store建立"後"載入

最簡單的方式是在store"後",在App元件裡用dispatch(action)來初始化。

記得要先用之前上課的技巧,讓使用者看到一個載入中的畫面,如果載入的資料較多或複雜時。

要在store建立前就要載入,在createStore這個API中的第二個傳入參數,可以作這件事情:

  • https://redux.js.org/api/createstore

另外Redux的官方手冊上也有寫到關於這個議題:

  • https://redux.js.org/recipes/structuring-reducers/initializing-state

另一個點是在reducer的初始化值,這個地方也可以載入初始化值。

但簡單的值當然沒問題,如果你的值還要從伺服器上fetch來,那就要寫成promise結構,步驟就是:

  • 先從伺服器上fetch得到值
  • 用createStore建立store,第1步的值塞入第二個傳入參數
  • 讓ReactDOM.render

初學時還是到元件的componentDidMount中再來作這件事情,Redux裡的初始值用基本的即可。

參考資料

  • https://stackoverflow.com/questions/37393176/redux-loading-initial-state-asynchronously
  • https://github.com/KELiON/redux-async-initial-state
  • https://stackoverflow.com/questions/33924429/what-are-your-best-practices-for-preloading-initialstate-in-your-redux-apps
  • https://stackoverflow.com/questions/33749759/read-stores-initial-state-in-redux-reducer/33791942#33791942
  • https://github.com/erikras/react-redux-universal-hot-example

created time in a month

fork eyesofkids/react

A declarative, efficient, and flexible JavaScript library for building user interfaces.

https://reactjs.org

fork in 2 months

push eventeyesofkids/TEST

Eddy Chang

commit sha e68fca4191ed2636f46bda6922bfc033afac126e

Update .gitignore

view details

push time in 2 months

create barncheyesofkids/TEST

branch : master

created branch time in 2 months

created repositoryeyesofkids/TEST

created time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 522497c57b4e2b732d4406d0b1c1eea0fe9d8d7c

add

view details

Eddy Chang

commit sha 898f6f8cdd6103c4e3e93b59db78ee0fbb312abd

Merge branch 'master' of https://github.com/eyesofkids/1003

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha feba2ee1fcc6abceb535b12546c47b52b3a1d524

Update README.md

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha a0c85e2681b7124abc7872d958e74deea297f5eb

Update index.js

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 4d42f9c4fe2fd4a282891e0c617908cb362c21be

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 7d453628ea30ca0897296c25c5776b68dd5b41fd

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha f1800e7ff68ccb69a18f811494b75181ce194917

Update Couter.js

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha b4f542de99b1da3202391bae3f2c79f5350862db

Update Couter.js

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 3d3ee27166a636e3ac1e2a3aeab7a3ebefd6f636

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 2037ba971d11ee8c3cc528196451873595096277

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 1cc294f5209b0eb7ec367b729a64f7f69aecbbc0

Update index.js

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha a0f9b59ab683ce6b855458d3da6c4d0b10247b38

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 9859527e24963af0ac9d51eca60dcc99eb008bb0

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha a472bb2cec681a61977a2e39e873b5d7a5aa3a64

Update Couter.js

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 3bb4956af4ae9bd8beff5ec73ccb6f1467def27e

ADD

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha e7df184bc8712ccca8654a7e38bec7a5cd8fb695

Update index.js

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha ec7631fb0ba75b3d0b1279e31159afe2d8455b84

Update index.js

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha b86a88c9b09f965e5e5d6e3c5917b9dd12d84608

Create index.js

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 8521eb3338869cc3254f5b71500474d8cf984286

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 1c2df786f90d989cef2e1bad725f298dcaf20119

ADD

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 52ae298ff1164530bb977a0ac1a7aa316daa4121

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha a3a1b6d26ddad235c7287bb7e1f1d995361707d5

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 2caee434180c6569cff71f8454723d33a421f516

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha b9a3b063fc45aa7085021c5059331bb74c47b7b7

Create UserList.js

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 171b22d15286bc780946c55134e8290baadd742c

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 6ef7fb17466f1d6be70ce530690f790a7e2b18ff

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 4f481a5c18ef767b3e3c757860f07bc49aa88e42

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha ea2d92d95fefde2b8b5b9512a78c3d87830a4c9d

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha a7058d1afb44d3af443b02727b4cf9d3f6ff273c

Create counter.json

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 9426675e33859653599bc0228d2fc2ef676a13ba

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 610e747fad86e7a2a11a0ea79d833a776fa6fdc1

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha dd781b9774fc7b1a9bf2291ec83b93371c80c82a

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 62db0af89bf734d3ec49db9bab9926274b595fa7

Create counter.json

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha b804d80eb6bb7c590058db9c368f8291e2984d89

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha f639bded21144c465d870177b9b1cc30ade8035d

Create Cart.js

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 4f264648f76dd5902fee5527a5c4918d78acf79b

Create ProductList.js

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha f0a4b1eb749fd6fe3c272457025a9d7e64fd6ed2

Update Cart.js

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha d1a295b524c91dde6d6d87b3fbdf5406aa62e3cc

Create Cart.js

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 8b55b06f4788fd9918fe933f6709c9f3fe3e394d

add

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha c0f6a6e2d453a94d3205c12c2967d8a1e48bacb2

Create index.scss

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha 0e5fef23d5ddf4547d0d246c66b3efed671ad0c2

Create cart.json

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha b92a9a4db70c124a5d32b11286edf3dd3ee9a7ca

ADD

view details

push time in 2 months

push eventeyesofkids/1003

Eddy Chang

commit sha aab837239cd761741dd8356100862ce3a9da2e5d

add

view details

push time in 2 months

more