結果查了一下原始碼,並沒有出現 new Proxy 這幾個字,所以不是用這個feature 做到的,而是用更複雜的方法達成,囧。 /packages/react/src/ReactBaseClasses.js
確定! 回上一頁