React 交流區
服務員 2017-3-4 11:14:12
想問下你地會用d咩css framework 夾React
:^(

我用material ui

Ads

鳩UP熊貓 2017-3-4 22:06:13
想問下你地會用d咩css framework 夾React
:^(

我用material ui

佢係咪冇bootstrap個類既grid system
:^(
排版好麻煩
MCHK 2017-3-4 22:25:37 講開ReactJS, 啱啱搵到個blog講Best ReactJS books in 2017:
https://reactdom.com/blog/reactjs-books

當中React: Up & Running: Building Web Applications原來已成為天書,
皆因作者Stoyan Stefanov係喺Facebook做的!
:^(
鳩UP熊貓 2017-3-4 22:30:21 同埋你地有冇用開邊隻stack
:^(
松茸子 2017-3-5 05:05:25
想問下你地會用d咩css framework 夾React
:^(

我用material ui

佢係咪冇bootstrap個類既grid system
:^(
排版好麻煩

好似夾flexbox黎用唔錯
松茸子 2017-3-5 05:08:40
想問下你地會用d咩css framework 夾React
:^(

我用material ui

佢係咪冇bootstrap個類既grid system
:^(
排版好麻煩

好似夾flexbox黎用唔錯

http://roylee0704.github.io/react-flexbox-grid/
服務員 2017-3-5 23:05:51 大家用咩editor?
Atom 有無plugin 推介?
搵唔到plugin 識auto reformat jsx (好多都有問題)
烏丸千歲 2017-3-5 23:07:59 LM學野
summer~ 2017-3-6 12:34:15
大家用咩editor?
Atom 有無plugin 推介?
搵唔到plugin 識auto reformat jsx (好多都有問題)

懶可以用visual studio code,起碼可以減少因為syntax error而需要debug的時間
其他就隨你順手就可以,無話絕對
思覺脫 2017-3-6 13:15:18
冇人用knockoutjs


不過會轉 ng2 一套做晒
:^(
:^(

knockout 同ng2差左邊D功能
望過下但冇詳細比較
不過data binding, routing我見兩邊都有
雕李老毛 2017-3-6 14:27:44 有冇人識用redux
唔係好睇得明
reducer set 完d action 之後
點樣係自己component trigger action/set state

Ads

服務員 2017-3-6 16:53:50
大家用咩editor?
Atom 有無plugin 推介?
搵唔到plugin 識auto reformat jsx (好多都有問題)

懶可以用visual studio code,起碼可以減少因為syntax error而需要debug的時間
其他就隨你順手就可以,無話絕對

Thx 返去試下
:^(
服務員 2017-3-6 16:54:51
有冇人識用redux
唔係好睇得明
reducer set 完d action 之後
點樣係自己component trigger action/set state

this.props.dispatch(xxxx)
Coke_Zero 2017-3-6 19:59:58
有冇人識用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
Coke_Zero 2017-3-6 20:01:28
大家用咩editor?
Atom 有無plugin 推介?
搵唔到plugin 識auto reformat jsx (好多都有問題)

Atom 用呢個:https://atom.io/packages/language-babel
服務員 2017-3-7 01:31:57
大家用咩editor?
Atom 有無plugin 推介?
搵唔到plugin 識auto reformat jsx (好多都有問題)

Atom 用呢個:https://atom.io/packages/language-babel

呢個點樣auto format? 裝左
雕李老毛 2017-3-7 11:11:41
有冇人識用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

:^(
:^(
Coke_Zero 2017-3-7 12:27:55
大家用咩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
服務員 2017-3-7 17:40:13
大家用咩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

Thx
:^(
簡單隨緣 2017-3-7 23:21:20 react 岩D large scale front end application用
react 係比較reusable一點 做出來堆component 拆得比較散,方便重用,亦因為如此,寫上來比較煩
vue比較岩D one page / small scale front end野去寫
Opencv 2017-3-8 18:34:21 有無人用開mobx?

Ads

summer~ 2017-3-8 20:21:28
react 岩D large scale front end application用
react 係比較reusable一點 做出來堆component 拆得比較散,方便重用,亦因為如此,寫上來比較煩
vue比較岩D one page / small scale front end野去寫

vue佢劣係佢係要pass個element id唔能夠成個dom食入去,食到入去就真係
:^(
甲甲 2017-3-8 20:43:54 vue 同 react 做 spa 邊個易上手啲
:^(
甲甲 2017-3-8 20:47:32
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架咩
:^(
summer~ 2017-3-8 22:34:27
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架咩
:^(

我係想直接食個由document.createElement產生的dom