Ads
想問下你地會用d咩css framework 夾React :^(
我用material ui
佢係咪冇bootstrap個類既grid system排版好麻煩 :^(
想問下你地會用d咩css framework 夾React :^(
我用material ui
佢係咪冇bootstrap個類既grid system排版好麻煩 :^(
好似夾flexbox黎用唔錯
大家用咩editor?
Atom 有無plugin 推介?
搵唔到plugin 識auto reformat jsx (好多都有問題)
冇人用knockoutjs
有
不過會轉 ng2 一套做晒 :^( :^(
Ads
大家用咩editor?
Atom 有無plugin 推介?
搵唔到plugin 識auto reformat jsx (好多都有問題)
懶可以用visual studio code,起碼可以減少因為syntax error而需要debug的時間
其他就隨你順手就可以,無話絕對
有冇人識用redux
唔係好睇得明
reducer set 完d action 之後
點樣係自己component trigger action/set state
有冇人識用redux
唔係好睇得明
reducer set 完d action 之後
點樣係自己component trigger action/set state
大家用咩editor?
Atom 有無plugin 推介?
搵唔到plugin 識auto reformat jsx (好多都有問題)
大家用咩editor?
Atom 有無plugin 推介?
搵唔到plugin 識auto reformat jsx (好多都有問題)
Atom 用呢個:https://atom.io/packages/language-babel
有冇人識用redux
唔係好睇得明
reducer set 完d action 之後
點樣係自己component trigger action/set state
每個component要用redux既state / action都要connect: https://github.com/reactjs/react-redux/blob/master/docs/api.md
大家用咩editor?
Atom 有無plugin 推介?
搵唔到plugin 識auto reformat jsx (好多都有問題)
Atom 用呢個:https://atom.io/packages/language-babel
呢個點樣auto format? 裝左
大家用咩editor?
Atom 有無plugin 推介?
搵唔到plugin 識auto reformat jsx (好多都有問題)
Atom 用呢個:https://atom.io/packages/language-babel
呢個點樣auto format? 裝左
auto format 你意思auto indent?如果係你可以入個package既settings有得tick返auto indent
之後係atom highlight jsx -> edit -> lines -> auto indent
如果想format成個js可以試下用Prettier: https://atom.io/packages/prettier-atom
Ads
react 岩D large scale front end application用
react 係比較reusable一點 做出來堆component 拆得比較散,方便重用,亦因為如此,寫上來比較煩
vue比較岩D one page / small scale front end野去寫
react 岩D large scale front end application用
react 係比較reusable一點 做出來堆component 拆得比較散,方便重用,亦因為如此,寫上來比較煩
vue比較岩D one page / small scale front end野去寫
vue佢劣係佢係要pass個element id唔能夠成個dom食入去,食到入去就真係 :^(
react 岩D large scale front end application用
react 係比較reusable一點 做出來堆component 拆得比較散,方便重用,亦因為如此,寫上來比較煩
vue比較岩D one page / small scale front end野去寫
vue佢劣係佢係要pass個element id唔能夠成個dom食入去,食到入去就真係 :^(
vue唔係都可以拆component架咩 :^(
我用material ui