React 交流區

95 回覆
3 Like 0 Dislike
2017-03-04 11:14:12
想問下你地會用d咩css framework 夾React

我用material ui
2017-03-04 22:06:13
想問下你地會用d咩css framework 夾React

我用material ui

佢係咪冇bootstrap個類既grid system 排版好麻煩
2017-03-04 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做的!
2017-03-04 22:30:21
同埋你地有冇用開邊隻stack
2017-03-05 05:05:25
想問下你地會用d咩css framework 夾React

我用material ui

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

好似夾flexbox黎用唔錯
2017-03-05 05:08:40
想問下你地會用d咩css framework 夾React

我用material ui

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

好似夾flexbox黎用唔錯

http://roylee0704.github.io/react-flexbox-grid/
2017-03-05 23:05:51
大家用咩editor?
Atom 有無plugin 推介?
搵唔到plugin 識auto reformat jsx (好多都有問題)
2017-03-05 23:07:59
LM學野
2017-03-06 12:34:15
大家用咩editor?
Atom 有無plugin 推介?
搵唔到plugin 識auto reformat jsx (好多都有問題)

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


不過會轉 ng2 一套做晒

knockout 同ng2差左邊D功能
望過下但冇詳細比較
不過data binding, routing我見兩邊都有
2017-03-06 14:27:44
有冇人識用redux
唔係好睇得明
reducer set 完d action 之後
點樣係自己component trigger action/set state
2017-03-06 16:53:50
大家用咩editor?
Atom 有無plugin 推介?
搵唔到plugin 識auto reformat jsx (好多都有問題)

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

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

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

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

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

呢個點樣auto format? 裝左
2017-03-07 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

2017-03-07 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-03-07 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-03-07 23:21:20
react 岩D large scale front end application用
react 係比較reusable一點 做出來堆component 拆得比較散,方便重用,亦因為如此,寫上來比較煩
vue比較岩D one page / small scale front end野去寫
2017-03-08 18:34:21
有無人用開mobx?
2017-03-08 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-03-08 20:43:54
vue 同 react 做 spa 邊個易上手啲
2017-03-08 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架咩
2017-03-08 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
吹水台自選台熱 門最 新手機台時事台政事台World體育台娛樂台動漫台Apps台遊戲台影視台講故台健康台感情台家庭台潮流台美容台上班台財經台房屋台飲食台旅遊台學術台校園台汽車台音樂台創意台硬件台電器台攝影台玩具台寵物台軟件台活動台電訊台直播台站務台黑 洞