react 唔難
係functional思想同component based design確實一開始有啲顛覆性(指同傳統MVC對比)
你要知道嘅就係react基本上想由上至下嘅node pass去render 幾乎唔會有下至上嘅改變 就算要改變 需要成個tree rerender 呢個時候就係Provider/Context嘅應用 缺點就係慢到hihi 好在react用vdom + tree shaking咁普遍情況仲可以keep到60fps 但實際上你component一多你就知奶野
呢個就係個source: https://reactjs.org/docs/rendering-elements.html
個人經驗就係 vue同react嘅唔同之處就係reactive data thinking上 vue嘅粒度做得高啲 (雖然個v-bind嘅design都係有啲on99...)