{"id":135368,"date":"2020-07-12T16:09:59","date_gmt":"2020-07-12T08:09:59","guid":{"rendered":"http:\/\/4563.org\/?p=135368"},"modified":"2020-07-12T16:09:59","modified_gmt":"2020-07-12T08:09:59","slug":"vue3-0-%e4%bb%8e%e5%85%a5%e9%97%a8%e5%88%b0%e5%ad%a6%e4%bc%9a-react","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=135368","title":{"rendered":"Vue3.0 \u4ece\u5165\u95e8\u5230\u5b66\u4f1a React"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Vue3.0 \u4ece\u5165\u95e8\u5230\u5b66\u4f1a React               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hoythan <\/span>  <span><i><\/i> 61<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>https:\/\/weibo.com\/arttechdesign<\/p>\n<p>\u7cdf\u7cd5\u7684 hooks \u8fd8\u4e0d\u5982 React \u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>100<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1254818\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hjahgdthab750 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             antd \u5df2\u7ecf\u5728\u5b66\u4e86\uff0c\u6bd4\u8f83\u70e6\u7684\u662f\u5f88\u591a\u4f20\u53c2\u7684\u5730\u65b9\u90fd\u4f20 object                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254819\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : hoythan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hjahgdthab750 \u662f\u7684\uff0c\u7528 3 \u4e0d\u5982\u76f4\u63a5\u4e00\u6b21\u6027\u8fc7\u6e21\u5230 React\uff0c\u770b\u8d77\u6765\u672a\u6765\u7684 vue \u4f1a \u8d8a\u6765\u8d8a\u50cf React \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254820\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             react \u662f\u54ea\u91cc\u6765\u7684\u79d2\u5929\u79d2\u5730\u7684\u52c7\u6c14\uff0c\u5c31\u662f\u56e0\u4e3a\u6ca1\u6709\u6a21\u677f if \u548c\u6a21\u677f else \u4e48\uff0c\u9009 vue \u5c31\u662f\u770b\u91cd\u4e86 template\uff0c\u8c01\u5728\u4e4e\u90a3\u4e9b\u82b1\u82b1\u7eff\u7eff\u7684\u4e1c\u897f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254821\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hcyg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u8bf4\u4e86 \u6211\u8981\u53bb\u5b66 React \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254822\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xilixjd <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             react \u7684 hooks \u624d\u662f\u5669\u68a6\uff0c\u5fc3\u667a\u8d1f\u62c5\u592a\u5927                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254823\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : momowei <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u5012\u662f\u89c9\u5f97\u6bd4 react \u597d\u7528\u592a\u591a\uff0creact \u7684 hook \u5fc3\u667a\u6a21\u578b\u7528\u597d\u592a\u591a\u5751\u4e86\u628a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254824\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lneoi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e4b\u524d\u770b\u522b\u7684\u4ecb\u7ecd\u8bf4\u662f Vue3 \u662f\u6bd4 react \u51cf\u8f7b\u4e0d\u4e0d\u5c11\u5fc3\u667a\u8d1f\u62c5..\u4e0d\u7528\u7279\u5730\u4f18\u5316\u4ec0\u4e48 \u8fd8\u662f\u5f88\u671f\u5f85\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254825\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Hellert <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u600e\u4e48\u89c9\u5f97\u7528\u4e86 Hooks \u540e\uff0c\u5fc3\u667a\u8d1f\u62c5\u8f7b\u4e86\u5f88\u591a\uff0c\u81ea\u5b9a\u4e49 hooks \u53ef\u4ee5\u4ee3\u66ff\u4e00\u4e9b\u4ee5\u524d\u5199\u7684\u9ad8\u9636\u7ec4\u4ef6\u5199\u6cd5\uff0c\u5199\u8d77\u6765\u987a\u7545\u4e0d\u5c11\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254826\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Hanggi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd8\u662f Angular \u4e00\u628a\u68ad\u6bd4\u8f83\u723d\u3002<\/p>\n<p>Vue \u5c31\u662f\u8fd9\u8fb9\u5b66\u5b66\uff0c\u90a3\u8fb9\u6284\u6284\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254827\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u6765\u7ed9\u67d0\u5439\u4e00\u4e0b\u4e3a\u4ec0\u4e48\u9009 vue<br \/>\u9996\u5148\u6211\u4eec\u7684\u573a\u666f\uff1a<br \/>1 \u3001\u5927\u91cf\u7684\u8868\u5355<br \/>2 \u3001\u5927\u91cf\u7684\u8868\u683c<br \/>3 \u3001\u590d\u6742\u7684\u6743\u9650\u63a7\u5236<br \/>4 \u3001\u524d\u7aef\u7531\u540e\u7aef\u517c\u804c\uff0c\u57fa\u7840\u53ea\u6709 jquery \u751a\u81f3 jquery \u90fd\u5199\u4e0d\u660e\u767d<br \/>vue \u662f\u600e\u4e48\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898<br \/>1 \u3001template+\u539f\u751f css\uff0c\u6700\u4f4e\u57fa\u7840\u8981\u6c42\uff0c\u548c\u4f60 html+css+js \u6ca1\u4ec0\u4e48\u533a\u522b<br \/>2 \u3001\u586b\u7a7a\u4e00\u6837\u7684\u5f00\u53d1\u6a21\u5f0f\uff0c\u544a\u8bc9\u4f60 data \u5199\u4ec0\u4e48\uff0cmethod \u5199\u4ec0\u4e48\uff0ccomputed \u5199\u4ec0\u4e48\uff0c\u6ca1\u6709 ts \u4e00\u6837\u62e5\u62b1\u5de5\u7a0b\u5316<br \/>3 \u3001\u6a21\u677f if \u3001show \u3001for \u5728\u6e32\u67d3\u590d\u6742\u8868\u5355\u65f6\u5982\u8150\u6dfb\u7ffc\uff0c\u5373\u4fbf\u662f\u6dfb\u52a0\u4e86\u5927\u91cf\u6761\u4ef6\u7684\u6a21\u677f\u548c\u6700\u7ec8\u6e32\u67d3\u7684 html \u4e5f\u76f8\u5dee\u4e0d\u79bb<br \/>4 \u3001\u6ca1\u6709 es6 \u8981\u6c42\uff0c\u6700\u4f4e\u6210\u672c\uff0cmap \u4ec0\u4e48\u90fd\u4e0d\u9700\u8981\u4f60\u7528\uff0c\u4f1a\u7528 for(;;)\u5faa\u73af\u5c31\u591f\u4e86\uff0c\u4e5f\u4e0d\u8981\u6c42\u5199\u77ed\u8def\u8fd9\u4e9b trick<\/p>\n<p>\u5b8c\u4e86\uff0c\u81f3\u4e8e\u4ec0\u4e48\u9ad8\u9636\u7ec4\u4ef6\uff0chooks\uff0choo care?\u6211\u4eec\u662f\u642d\u79ef\u6728\uff0c\u8c01\u4f1a\u5728\u79ef\u6728\u4e0a\u505a\u51fa\u66f4\u9ad8\u9636\u7684\u79ef\u6728\u6765<br \/>vue \u7684\u5360\u6bd4\u5df2\u7ecf\u5f88\u597d\u7684\u8bf4\u660e\u4e86\uff0c\u8fd9\u4e9b\u4f60\u4eec\u770b\u4e0d\u4e0a\u7684 curd \u9875\u9762\u5f00\u53d1\uff0c\u53cd\u5012\u662f\u5f88\u591a\u516c\u53f8\u7684\u65e5\u5e38                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254828\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : hoythan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur \u6211\u5c31 tm \u559c\u6b22\u7ed9\u4f60\u8fd9\u79cd\u4eba\u70b9\u8d5e\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254829\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : hoythan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5efa\u8bae\u6709\u5fc3\u7ec4\u7ec7 fork \u4e00\u4e2a vue 2.0 \u53eb real vue 2.0 \u7ee7\u7eed\u8fed\u4ee3                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254830\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bkmi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6495\u903c\u73b0\u573a\u51c6\u5907\uff1f<br \/>\u53ea\u542c\u8bf4\u524d\u7aef\u5708\u5b50\u559c\u6b22\u6495\uff0c\u6ca1\u60f3\u5230\u8fd9\u5c31\u80fd\u6495\u8d77\u6765\u3002<br \/>\u9634\u9633\u602a\u6c14\u8b66\u544a\u26a0\ufe0f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254831\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gouflv <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             hooks \u4e0d\u719f\u7684\u65f6\u5019\uff0c\u7ecf\u5e38\u628a\u6d4f\u89c8\u5668\u5199\u5d29\u4e86\uff0cvue \u7684\u95e8\u69db\u5c31\u4f4e\u5f88\u591a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254832\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ddup <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6807\u9898\u7b11\u574f\u6211\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254833\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ddup <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u987a\u4fbf\u63a8\u8350\u4e00\u6ce2 Angular                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254834\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ragnaroks <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Angular \u9000\u51fa\u7fa4\u804a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254835\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ddup <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur #10 \u6982\u62ec\u6765\u8bf4\uff0c\u5c31\u662f\u8d70\u7fa4\u4f17\u8def\u7ebf\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254836\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yafoo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bf7\u5206\u6790\u4e00\u4e0b hooks \u54ea\u91cc\u7cdf\u7cd5\u4e86\uff1f\u4ee5\u53ca react hook \u7684\u4f18\u52bf\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254837\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : MorningStar0 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur \u6709\u4e00\u8bf4\u4e00\uff0c\u524d\u4e09\u70b9\u573a\u666f\u4e5f\u6ca1\u6709\u4f53\u73b0 vue \u66f4\u4f18\u52bf\u554a\u3002\u751a\u81f3\uff0c\u590d\u6742\u7684\u6743\u9650\u63a7\u5236\u8fd9\u4e2a\uff0c\u4f60\u786e\u5b9a\u6ca1\u6709\u7c7b\u578b\u58f0\u660e\uff0c3 \u4e2a\u6708\u4e4b\u540e\u8fd8\u80fd\u60f3\u8d77\u6743\u9650\u5b57\u6bb5\u5bf9\u5e94\u7684\u503c\u4e48\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254838\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : g00001 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             react hooks \u96be\u5b66\u6613\u7cbe\uff0c\u5c31\u662f\u4e0a\u624b\u90a3\u4e00\u4e0b\u5b50\u6709\u70b9\u75db\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254839\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : guog <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur \u54c8\u54c8\u54c8\uff0c\u8001\u54e5\u8fd9\u8bf4\u7684\u5c31\u662f\u6211\uff0c\u540e\u7aef\u5199\u524d\u7aef\uff0c\u80fd\u7528\u53c8\u5feb\uff0c\u8bb2\u7a76\u5565\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254840\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : imnaive <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6765\u6e90 https:\/\/composition-api.vuejs.org\/#comparison-with-react-hooks<br \/># Comparison with React Hooks<\/p>\n<p>The function based API provides the same level of logic composition capabilities as React Hooks, but with some important differences. Unlike React hooks, the setup() function is called only once. This means code using Vue&#8217;s Composition API is:<\/p>\n<p>1. In general more aligned with the intuitions of idiomatic JavaScript code;<\/p>\n<p>2. Not sensitive to call order and can be conditional;<\/p>\n<p>3. Not called repeatedly on each render and produces less GC pressure;<\/p>\n<p>4. Not subject to the issue where useCallback is almost always needed in order to prevent inline handlers causing over-re-rendering of child components;<\/p>\n<p>5. Not subject to the issue where useEffect and useMemo may capture stale variables if the user forgets to pass the correct dependency array. Vue&#8217;s automated dependency tracking ensures watchers and computed values are always correctly invalidated.<\/p>\n<p>6. We acknowledge the creativity of React Hooks, and it is a major source of inspiration for this proposal. However, the issues mentioned above do exist in its design and we noticed Vue&#8217;s reactivity model happens to provide a way around them.                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254841\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : momocraft <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b#10 \u7684\u63cf\u8ff0\u4e0d\u50cf\u642d\u79ef\u6728\uff0c\u66f4\u50cf\u753b\u753b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254842\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : hoythan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             vue \u4e3b\u8981\u662f\u5c0d\u524d\u7aef\u5f00\u53d1\u5165\u95e8\u95e8\u69db\u6025\u5267\u964d\u4f4e\uff0c\u771f\u8981\u662f\u5728\u4e4e\u6027\u80fd\u800c\u4e0d\u8003\u8651\u4fbf\u6377\u6027\u7684\u8bdd\uff0c\u9009 React \u6ca1\u8dd1\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254843\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @MorningStar0 \u4f01\u4e1a\u5f00\u53d1\uff0c\u9700\u6c42\u53d8\u66f4\u662f\u8981\u7b97\u94b1\u7684\uff0c\u4e0a\u4e86\u751f\u4ea7\u53d8\u52a8\u5f88\u5c0f\u7684\uff0c\u60f3\u8d77\u6765\u5b57\u6bb5\u662f\u5565\u4e5f\u5c5e\u4e8e\u5de5\u4f5c\u91cf\u7684\u4e00\u90e8\u5206<br \/>\u6d41\u7a0b\u548c\u4eba\u5458\u76f8\u5173\u7684\u6743\u9650\u662f\u914d\u51fa\u6765\u7684\uff0c\u4e5f\u4e0d\u9700\u8981\u5f00\u53d1                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254844\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Procumbens <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur vue \u7684\u5360\u6bd4\uff1f\u5728\u56fd\u5185\u53ef\u80fd\u7528 vue \u7684\u591a\u70b9\uff0c\u56fd\u9645\u4e0a react \u9065\u9065\u9886\u5148\u3002<br \/>https:\/\/existek.com\/blog\/top-front-end-frameworks-2020\/                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254845\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : MorningStar0 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur \u8fd9\u4e2a\u63cf\u8ff0\uff0c\u8ba9\u6211\u60f3\u8d77\u4e86\u201cjs \u62a5\u9519\u4e0d\u5f71\u54cd\u9875\u9762\u5c55\u793a\u201d\u7684\u6bb5\u5b50\u3002\u3002\u3002\u3002\u3002\u3002\u6211\u660e\u660e\u63d0\u7684\u662f\u5173\u4e8e\u53ef\u7ef4\u62a4\u6027\u7684\u95ee\u9898\uff0c\u4f60\u5374\u56de\u6211\u5f00\u53d1\u6d41\u7a0b\u548c\u5de5\u4f5c\u91cf                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254846\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Procumbens \u90a3\u53c8\u5982\u4f55\uff0c\u4ec0\u4e48\u9700\u6c42\u5c31\u5e94\u8be5\u7528\u4ec0\u4e48\u6846\u67b6\u5b8c\u6210\uff0c\u56fd\u5916\u8fd8\u4e00\u5806\u7528 sqlserver \u548c windows server \u7684\u5462\uff0c\u90fd\u5feb\u88ab\u5f00\u9664\u7a0b\u5e8f\u5458\u7c4d\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254847\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @MorningStar0 \u4ec0\u4e48\u53eb\u53ef\u7ef4\u62a4\u6027\uff0c\u5982\u679c\u6211\u4ece\u6d41\u7a0b\u4e0a\u80fd\u63a7\u5236\u4f4f\u9700\u6c42\u7684\u4e0d\u5408\u7406\u53d8\u66f4\uff0c\u81ea\u7136\u53ef\u4ee5\u51cf\u5c11\u540e\u671f\u4ee3\u7801\u4fee\u6539<br \/>\u800c\u4e14\u4e92\u8054\u7f51\u9879\u76ee\u5f88\u591a\u90fd\u6ca1\u8d44\u683c\u8c08\u53ef\u7ef4\u62a4\u6027\uff0c\u534a\u5e74\u4e00\u5e74\u4e0d\u5230\u516c\u53f8\u90fd\u6ca1\u4e86\uff0c\u8fd8\u9700\u8981\u7ef4\u62a4\u5565\uff0c\u65b0\u6280\u672f\u968f\u4fbf\u7528\uff0c\u7ba1\u4ed6\u7a33\u5b9a\u4e0d\u7a33\u5b9a\u53cd\u6b63\u9a97\u6295\u8d44\u4eba\u7684\u94b1<br \/>\u6211\u4eec\u96c6\u56e2 oa \u662f vb \u5199\u7684\uff0c\u73b0\u5728\u8fd8\u8dd1\u7684\u597d\u597d\u7684\uff0c\u6240\u4ee5\u4f60\u5728\u62c5\u5fc3\u4ec0\u4e48\u53ef\u7ef4\u62a4\u6027\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254848\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bf4\u5230\u56fd\u5916\uff0c\u6628\u5929\u5728\u77e5\u4e4e\u4e0a\u770b\u5230\u4e2a\u8bf4 sql server \u5e02\u5360\u6bd4\u4e0d\u5982 acess \u7684\uff0c\u8fd9\u8981\u4e0d\u662f\u77e5\u4e4e\u7684\u4ef2\u88c1\u59d4\u5458\u4f1a\u6492\u6bd4\uff0c\u65e9\u5c31\u7956\u5b89\u95ee\u5019\u8fc7\u53bb\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254849\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shenyu1996 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xilixjd \u6211\u4e5f\u89c9\u5f97\u4e0d\u5e26\u8111\u5b50\u8bfb hook \u4ee3\u7801\u5b9e\u5728\u592a\u96be\u4e86 \u8fd8\u662f vue 2.0 \u9999 \u592a\u9999\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254850\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : MorningStar0 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur \u5f88\u83ab\u540d\u5176\u5999\u7684\u56de\u590d\uff0c\u6211\u4ee5\u4e3a\u6211\u4eec\u8ba8\u8bba\u7684\u662f\u590d\u6742\u6743\u9650\u63a7\u5236\u5728\u4e0d\u5f15\u5165\u7c7b\u578b\u58f0\u660e\u7684\u60c5\u51b5\u4e0b\uff0c\u4f1a\u666e\u904d\u5bfc\u81f4\u7cfb\u7edf\u7684\u53ef\u7ef4\u62a4\u6027\u4e0b\u964d\u7684\u95ee\u9898\u3002<br \/>\u7ed3\u679c\u4f60\u5374\u8bf4\uff0c\u5728\u4f60\u63d0\u5230\u7684\u7279\u5b9a\u573a\u666f\u4e0b\uff0c\u57fa\u672c\u4e0d\u9700\u8981\u7cfb\u7edf\u7684\u7ef4\u62a4\u3002\u96be\u9053\u7528 vue \u662f\u53ea\u9700\u8981\u89e3\u51b3\u8fd9\u4e2a\u7279\u5b9a\u7684\u573a\u666f\u4e48\uff1f\u663e\u7136\u4e0d\u662f\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254851\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : frankwei777 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             hoc \u7684\u65f6\u4ee3\u7ec8\u4e8e\u53ef\u4ee5\u8fc7\u53bb\u4e86 hooks \u771f\u9999                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254852\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @MorningStar0 php \u662f\u5f31\u7c7b\u578b\u8bed\u8a00\uff0cpython \u662f\u5f31\u7c7b\u578b\u8bed\u8a00\uff0c\u5f3a\u7c7b\u578b\u662f\u597d\u4e1c\u897f\uff0c\u4f46\u662f\u5f3a\u7c7b\u578b\u4e0d\u662f\u7075\u4e39\u5999\u836f\uff0c\u89e3\u51b3\u53d8\u91cf\u548c\u4ee3\u7801\u903b\u8f91\u6ca1\u6cd5\u5bf9\u5e94\u7684\u65b9\u6cd5\u5f88\u591a\uff0c\u5728\u524d\u7aef\u90e8\u5206\u5b9a\u4e49 ts \u53ef\u4ee5\u89e3\u51b3\u95ee\u9898\uff0c\u4f46\u662f\u89e3\u51b3\u4e0d\u4e86\u5168\u90e8\u95ee\u9898<br \/>\u5982\u679c\u8bf4\u5f3a\u7c7b\u578b\u662f\u4e07\u80fd\u836f\uff0c\u90a3\u4e48 java \u548c c#\u5e94\u8be5\u662f\u4e16\u754c\u4e0a\u6700\u597d\u7684\u540e\u7aef\u8bed\u8a00\uff0c\u5927\u5382\u51fa\u54c1\uff0c\u5929\u751f\u5f3a\u7c7b\u578b\uff0c\u6559\u79d1\u4e66\u4e00\u6837\u7684\u8bed\u6cd5\uff0c\u5b87\u5b99\u7ea7 IDE\uff0c\u5b9e\u9645\u4e0a\u5462\uff1f<br \/>\u524d\u7aef\u548c\u540e\u7aef\u8fd9\u4e0d\u662f\u8dd1\u9898\uff0c\u524d\u7aef\u7684\u4ee3\u7801\u96be\u7ef4\u62a4\uff0c\u90a3\u4e48 js \u5199\u7684\u540e\u7aef\u662f\u4e0d\u662f\u4e5f\u540c\u6837\u4f1a\u6709\u7c7b\u4f3c\u7684\u95ee\u9898\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254853\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @MorningStar0 \u5982\u679c\u4f60\u8fd8\u4e0d\u660e\u767d\u7ef4\u62a4\u6027\u662f\u4ec0\u4e48\uff0c\u6211\u4eec\u7684\u53e6\u5916\u4e00\u4e2a\u7cfb\u7edf\uff0creact15 \u7684\u7248\u672c\uff0credux \u90fd\u6ca1\u7528\uff0c\u7528\u7684\u4e8b\u4ef6\u548c\u5168\u5c40\u53d8\u91cf\u89e3\u51b3\u7684\u5b50-\u7236\u4ea4\u4e92\uff0c\u8fd0\u884c\u4e86\u4e09\u5e74\u591a\u4e86\uff0c\u4e5f\u597d\u597d\u7684\uff0c\u65b9\u6cd5\u603b\u6bd4\u95ee\u9898\u591a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254854\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : henmeiweide <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5728\u4e0a\u4e2a\u516c\u53f8\u9879\u76ee\u5199\u4e86\u534a\u5e74 vue2 + composition-api \uff08\u4e0a\u751f\u4ea7\u73af\u5883\uff09, \u5f88\u9999\u554a\uff0c\u7a0d\u5fae\u591a\u5199\u4e00\u6bb5\u65f6\u95f4\u8ba4\u8bc6\u5230\u8fd0\u884c\u673a\u5236\u540e\uff08 \u6bd4\u5982\u610f\u8bc6\u5230 setup \u91cc\u7684\u4e1c\u897f\u90fd\u53ea\u662f\u8fd0\u884c\u4e00\u6b21\u3001render \u51fd\u6570\u91cc\u7684\u624d\u662f\u6bcf\u6b21\u90fd\u8fd0\u884c\u3002\u8fd9\u548c react \u51fd\u6570\u7ec4\u4ef6\u6574\u4f53\u4f5c\u4e3a render \u51fd\u6570\u8fd8\u662f\u6709\u5f88\u5927\u5dee\u522b\u7684\uff09\u4ee3\u7801\u5c31\u5f88\u5bb9\u6613\u4f18\u5316\uff0c\u4e5f\u4f1a\u89c9\u5f97\u5199\u7ec4\u4ef6\u5c31\u50cf\u662f\u5199\u6709\u524d\u56e0\u540e\u679c\u7684\u6545\u4e8b\u5566\u3002\u7136\u540e\u4e2a\u4eba\u6ca1\u5fc5\u8981\u591a\u505a\u6bd4\u8f83\uff0c\u90fd\u633a\u597d\u7684\uff0cvue3 composition api \u548c react hook \u90fd\u9700\u8981\u4e00\u5b9a\u7684\u5b66\u4e60\u6210\u672c\uff0c\u4f46\u662f\u505a\u8fd9\u884c\u7684\u4e0d\u5c31\u662f\u8981\u5b66\u561b\uff08\u624b\u52a8\u72d7\u5934\u4fdd\u547d\uff09                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254855\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : MorningStar0 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur \u6240\u4ee5\uff0c\u96be\u9053\u662f\u6211\u4eec\u5bf9\u201d\u53ef\u7ef4\u62a4\u6027\u7684\u201c\u8fd9\u4e2a\u6982\u5ff5\u6709\u4e0d\u540c\u7684\u7406\u89e3\u4e48\uff1f\uff1f\uff1f\u53d8\u91cf\u5168\u662f\u65e0\u8bed\u4e49\u7684\u5b57\u7b26\u7ec4\u6210\u7684\u7a0b\u5e8f\u4e5f\u53ef\u4ee5\u8fd0\u884c\u4e09\u5e74\u4e0d\u51fa\u95ee\u9898\uff0c\u4f46\u662f\u4f60\u80fd\u57fa\u4e8e\u8fd9\u4e2a\u7248\u672c\u7ee7\u7eed\u63a8\u8fdb\u4e0b\u53bb\u4e48\uff1f<br \/>\u8fd8\u6709,\u5f3a\u7c7b\u578b\u867d\u7136\u4e0d\u662f\u4e07\u80fd\u836f\uff0c\u4f46\u662f\u4f60\u80fd\u5426\u8ba4\u5f3a\u7c7b\u578b\u5728\u53ef\u7ef4\u62a4\u6027\u8fd9\u4e2a\u65b9\u9762\u63d0\u4f9b\u7684\u5f3a\u5927\u652f\u6491\u4e48\u3002<br \/>\u518d\u8bf4 java \uff08\u6216\u8005\u8fd8\u6709 c++\uff09\u96be\u9053\u4e0d\u662f\u5927\u578b\u5de5\u7a0b\u5e38\u7528\u8bed\u8a00\u4e48\uff0c\u5982\u4eca\u8fde facebook \u90fd\u662f\u662f\u7528 hack \u4f5c\u4e3a\u540e\u7aef\uff0c\u8fd9\u96be\u9053\u4e0d\u80fd\u8bf4\u660e\u5f31\u7c7b\u578b\u8bed\u8a00\u5728\u9700\u8981\u5927\u91cf\u8fed\u4ee3\u7684\u9879\u76ee\u4e2d\u7684\u52a3\u52bf\u4e48?<br \/>\u6700\u540e\uff0c\u8bf4\u5230\u5e95\u4f60\u524d\u9762\u4e3e\u7684\u4e24\u4e2a\u4f8b\u5b50\uff0c\u54ea\u4e00\u4e2a\u662f\u9700\u8981\u9ad8\u53ef\u7ef4\u62a4\u6027\u7684\u9879\u76ee\u4e48\uff1f\u6216\u8005\u8bf4\u7684\u66f4\u76f4\u63a5\u4e9b\uff0c\u8fd9\u4e24\u4e2a\u9879\u76ee\u96be\u9053\u9700\u8981\u6bcf\u5468\u8fdb\u884c\u8fed\u4ee3\u4e48\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254856\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @MorningStar0 \u201c\u751a\u81f3\uff0c\u590d\u6742\u7684\u6743\u9650\u63a7\u5236\u8fd9\u4e2a\uff0c\u4f60\u786e\u5b9a\u6ca1\u6709\u7c7b\u578b\u58f0\u660e\uff0c3 \u4e2a\u6708\u4e4b\u540e\u8fd8\u80fd\u60f3\u8d77\u6743\u9650\u5b57\u6bb5\u5bf9\u5e94\u7684\u503c\u4e48\uff1f\u201d\u4f60\u80fd\u4e0d\u80fd\u89e3\u91ca\u4e0b\u8fd9\u53e5\u8bdd<br \/>\u6211\u611f\u89c9\u88ab\u4f60\u8bf4\u7684\u83ab\u540d\u5176\u5999\uff0c\u6743\u9650\u63a7\u5236\u662f\u9700\u6c42\uff0c\u8fd9\u4e2a\u4e0d\u80fd\u780d\uff0c\u90a3\u4e48 react \u548c vue \u89e3\u51b3\u6709\u5927\u533a\u522b\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254857\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mebtte <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Vanilla JS: \u6211\u4e0d\u662f\u9488\u5bf9\u8c01, \u6211\u662f\u6307\u5728\u5ea7\u7684\u5404\u4f4d, \u90fd\u662f\u5783\u573e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254858\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : fanfou <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u5c31\u662f\u997f\u6b7b\uff0c\u4e5f\u4e0d\u4f1a\u7528 React \u3002\u5509\u5440\u5988\u5440\uff0creact hook \u771f\u9999~~                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254859\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lolizeppelin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur <\/p>\n<p>\u4f60\u8fd9\u662f\u5199\u8fc7 css \u7528\u8fc7 jq \u7684\u540e\u7aef<\/p>\n<p>\u5b8c\u5168\u4e0d\u5199 css \u3001jq \u7684\u540e\u7aef\u66f4\u559c\u6b22 react                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254860\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lolizeppelin vue \u548c react \u7684\u6700\u5927\u4e66\u5199\u4f53\u9a8c\u5dee\u5728 template \u548c jsx \u4e0a\uff0c\u800c\u4e0d\u662f css \u548c jq \u90e8\u5206\uff0c\u5728\u9875\u9762\u903b\u8f91\u590d\u6742\u7684\u65f6\u5019\uff0cjsx \u5355\u4e00\u4e2a\u5bf9\u9f50\u90fd\u6210\u4e86\u5962\u671b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254861\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : maplelin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             vue \u548c react \u7684\u533a\u522b\u5c24\u5927\u90fd\u4e0d\u77e5\u9053\u505a\u8fc7\u591a\u5c11\u6b21\u6f14\u8bb2\u4e86\uff0creact \u548c vue \u5728\u4e0d\u540c\u573a\u666f\u4e0b\u5404\u6709\u4f18\u52bf\uff0cvue \u7684\u5f00\u53d1\u521d\u8877\u4e5f\u4e0d\u662f\u53d6\u4ee3 react\uff0c\u4e0d\u77e5\u9053\u4e0a\u6495\u4e2a\u4ec0\u4e48\uff0c\u996d\u5708\u6587\u5316\u641e\u5230\u6280\u672f\u5708\u5b50\u91cc\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254862\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @maplelin \u4e3b\u4e0a\u6765\u4e00\u4e2a vue3 \u4e0d\u5982\u5b66 react \u662f\u767d\u8bf4\u7684\u4e48\uff0c\u4ec0\u4e48\u53eb\u996d\u5708\u6587\u5316\uff0c\u9047\u5230\u559c\u6b22\u7684\u6846\u67b6\u51fa\u6765\u8bf4\u4e24\u53e5\u90fd\u4e0d\u8ba9\u4e86\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254863\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zlgodpig <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             1. react \u7684\u66f4\u65b0\u673a\u5236\u662f\u57fa\u4e8e\u5f15\u7528\u76f8\u7b49(referential equality)\uff0cvue \u662f\u53d8\u66f4\u68c0\u67e5\u53bb\u66f4\u65b0\u754c\u9762\uff0c\u66f4\u65b0\u673a\u5236\u4e0d\u540c\uff0c\u5bfc\u81f4\u4f7f\u7528\u4e0a\u601d\u8def\u6709\u5f88\u591a\u4e0d\u540c<br \/>2. \u6211\u6ca1\u770b\u5230\u8fc7\u6709\u8bc4\u6d4b\u6587\u7ae0\uff0c\u652f\u6301 react \u6bd4 vue \u7684\u6027\u80fd\u597d\u3002\u76f8\u53cd\uff0c\u5728\u8003\u8651\u7c7b\u4f3c\u5370\u5ea6\u5e02\u573a\u8fd9\u6837\u7684\u7f51\u7edc\uff0cvue \u7684\u5c3a\u5bf8\u5728\u9996\u5c4f\u52a0\u8f7d\u4e0a\uff0c\u662f\u6709\u4f18\u52bf\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254864\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shintendo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lolizeppelin \u4e0d\u660e\u767d\uff0c\u5199 react \u4e0d\u7528\u61c2 css \uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254865\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Ritr <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur \u4f60\u8fd8\u771f\u662f\u8bf4\u5bf9\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254866\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : MorningStar0 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur \u9996\u5148\u8fd9\u4e0d\u662f\u7528 vue \u6216\u8005 react \u7684\u95ee\u9898\uff0c\u800c\u662f\u9700\u4e0d\u9700\u8981\u7c7b\u578b\u58f0\u660e\u6765\u8fdb\u884c\u7ea6\u675f\u7684\u95ee\u9898\u3002\u5c31\u6bd4\u5982 react \u672c\u8eab\u5728\u5f00\u53d1\u7684\u65f6\u5019\u5e76\u6ca1\u6709\u4f7f\u7528 ts \u800c\u662f\u4f7f\u7528 flow \u6765\u505a\u7684\u7ea6\u675f\u3002<br \/>\u5176\u6b21\uff0c\u6743\u9650\u5b57\u6bb5\u53c8\u4e0d\u662f\u53ea\u6709\u4e00\u4e2a\u503c\uff0c\u5bf9\u4e8e\u524d\u7aef\u5f00\u53d1\u6765\u8bb2\uff0c\u53ef\u4ee5\u901a\u8fc7 TS \u7684\u7c7b\u578b\u7ea6\u675f\uff0c\u660e\u786e\u8fd9\u4e2a\u5b57\u6bb5\u5bf9\u5e94\u7684\u503c\u7684\u8303\u56f4\u4f8b\u5982<br \/>type rootLevel = 0 | 1 | 2;<br \/>\u8fd9\u6837 rootLevel \u7684\u8303\u56f4\u5c31\u786e\u5b9a\u4e86\u4e0b\u6765\uff0c\u540e\u7eed\u5f00\u53d1\u7528\u5230\u8fd9\u4e2a\u53d8\u91cf\u65f6\u4f1a\u76f4\u63a5\u89c4\u7ea6\u5230\u8fd9\u4e2a\u8303\u56f4\u5185\u3002\u8fd9\u6837\u7684\u7279\u6027\u660e\u663e\u63d0\u5347\u4e86\u540e\u7eed\u5f00\u53d1\u7684\u6548\u7387                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254867\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhwithsweet <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u524d\u7aef\u5c31\u662f\u620f\u7cbe\u591a\u3002xb: \u6211\u5c31\u95ee\u4f60\u6709\u4ec0\u4e48\u5f71\u54cd\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254868\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chniccs <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e1a\u52a1\u4e0a\u9700\u8981\u5565\u6211\u5c31\u7528\u5565\uff0c\u5565\u65b9\u4fbf\u6211\u5c31\u7528\u5565\u3002\u6709\u4ec0\u4e48\u597d\u5dee\u4e4b\u5206\u5462\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254869\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : KuroNekoFan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u5199 react hooks \u51e0\u4e2a\u6708\uff0cuseEffect \u786e\u5b9e\u8ba9\u6211\u60f3\u8d77\u6765 vue \u7684 data driven                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254870\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : KuroNekoFan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @yafoo \u7cdf\u7cd5\u5c31\u662f\u6307\u5bf9 js \u4f5c\u4e3a\u4e00\u79cd\u8bed\u8a00\u7684\u8981\u6c42\u5f88\u9ad8                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254871\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Resource <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7b11\u6b7b\uff0c\u524d\u7aef\u7c89\u5708\u5316\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254872\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mooyo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u90fd\u80fd\u5435\u8d77\u6765&#8230;\u5a31\u4e50\u5708\u5b9e\u9524\u4e86.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254873\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tikazyq <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5176\u5b9e\u5dee\u4e0d\u591a\uff0c\u770b\u56e2\u961f\u64c5\u957f\u54ea\u79cd                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254874\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ccyu220 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u4e86\u89e3\u6846\u67b6\u7684\u533a\u522b\u5c31\u53bb\u5b9e\u6218\u505a\u4e00\u4e24\u4e2a\u9879\u76ee\uff0c\u8fd9\u6837\u4f18\u7f3a\u70b9\u4e0d\u4e45\u5f88\u660e\u76ee\u4e86\uff1f<br \/>\u5f31\u667a\u624d\u9009\u8fd9\u9009\u90a3\uff0c\u90fd\u4f1a\u4e0d\u5c31\u884c\u4e86\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254875\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cokyhe <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6807\u9898\u6709\u610f\u601d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254876\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : hoythan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u660e\u660e\u662f\u4e2d\u56fd\u4eba\u7528\u7684\u547d\uff0c\u5f97\u4e86\u7ed9\u5168\u4e16\u754c\u7528\u7684\u75c5\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254877\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lolizeppelin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur <\/p>\n<p>\u8fd9\u4e48\u8bf4\u5427, \u5b66 react \u9700\u8981\u66f4\u5c11\u7684 html \u77e5\u8bc6<br \/>\u53ea\u8981\u77e5\u9053 div \u548c\u6709\u9650\u7684\u51e0\u4e2a style \u5c31\u53ef\u4ee5\u4e0a\u624b\u4e86<\/p>\n<p>\u5bf9\u4e8e\u5b8c\u5168\u6ca1\u6709\u524d\u7aef\u57fa\u7840\u7684\u4eba\u6765\u8bf4 react \u5165\u95e8\u66f4\u7b80\u5355                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254878\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mars0prince <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e4b\u524d\u62a2\u5148\u4f53\u9a8c\u4e86\u4e00\u6ce2 composition API\uff0c\u540e\u6765\u90a3\u4e2a\u9879\u76ee\u518d\u4e5f\u6ca1\u6709\u5144\u5f1f\u613f\u610f\u63a5\u624b\u4e86\u3002\u3002\u7ed3\u679c\u6211\u4eec\u73b0\u5728\u53c8\u56de\u5230 vue2 \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254879\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shintendo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lolizeppelin div \u4e00\u628a\u68ad\u8ddf react \u6709\u4ec0\u4e48\u5173\u7cfb                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254880\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : windychen0 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur \u7ed9\u8001\u54e5\u70b9\u8d5e\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254881\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : littlebaozi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9010\u6e10\u996d\u5708\u5316\u3002\u7231\u7528\u8c01\u7528\u8c01\uff0c\u884c\u4e0d\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254882\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhw2590582 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53c8\u5230\u4e86\u559c\u95fb\u4e50\u89c1\u7684\u6846\u67b6\u6495\u903c\u73af\u8282\u4e86\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254883\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dilu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f5c\u4e3a\u540e\u7aef\u7684\u6211\uff0cjqeury \u4e00\u628a\u68ad<\/p>\n<p>\u5750\u770b\u8d35\u5708\u8fd9\u4e00\u6ce2\u5927\u6218                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254884\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : itning <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Angular \u8fd8\u662f\u597d\u4e00\u4e9b \uff0c\u5199 Vue \u548c React \u603b\u611f\u89c9\u5728\u642d\u79ef\u6728                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254885\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xichengh <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7ed9\u6211\u6495                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254886\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : orozot <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hoythan \u8003\u8651\u6027\u80fd\u9009 React \uff1f\u4f60\u8ba4\u771f\u7684\uff1f react \u6ca1\u641e fiber \u4e4b\u524d\u6027\u80fd\u5c31\u662f\u4e00\u5768\u5c4e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254887\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dodo2012 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Angular \u54ed\u6655\u5728\u5899\u89d2\uff0cY \u7684\u6211\u5f53\u5e74\u7528 ts \u88ab\u9a82\u6210                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254888\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : TsuiiusT <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             react \u66f4\u7075\u6d3b\uff0c\u6982\u5ff5\u66f4\u5c11\uff0c\u751f\u6001\u4e5f\u66f4\u597d\uff0c\u9664\u4e86 redux \u5f88\u96be\u7528\u3002\u5f53\u7136\uff0c\u8fd9\u4e9b\u6846\u67b6\u7ec8\u7a76\u8981\u88ab web \u6807\u51c6\u4ee3\u66ff\uff0c\u53ea\u662f\u4e2a\u8fc7\u6e21                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254889\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : serenader <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @MorningStar0 \u6211\u89c9\u5f97\u4f60\u6ca1\u5fc5\u8981\u8ddf\u67d0 m \u5f00\u5934\u7684\u7528\u6237\u4e89\u8bba\u4e86\uff0c\u4f60\u4f1a\u53d1\u73b0\u8ddf\u4ed6\u4ea4\u6d41\u7b80\u76f4\u5c31\u662f\u5bf9\u725b\u5f39\u7434\u3002<\/p>\n<p>Vue \u786e\u5b9e\u5bf9\u65b0\u624b\u53cb\u597d\u6ca1\u9519\uff0c\u800c\u4e14\u5bf9\u56fd\u4eba\u5f00\u53d1\u8005\u5f88\u53cb\u597d\uff0c\u4f46\u662f\u4ed6\u63d0\u5230\u7684\u51e0\u4e2a\u70b9\u6211\u5b8c\u5168 get \u4e0d\u5230 Vue \u7684\u4f18\u52bf\u3002\u81f3\u4e8e\u4f60\u8ddf\u4ed6\u8ba8\u8bba\u7684\u8fc7\u7a0b\u6211\u770b\u4e86\u90fd\u8981\u66ff\u4f60\u5fc3\u585e\u3002\u3002\u3002<\/p>\n<p>btw\uff0c\u901b V \u7ad9\u8fd9\u4e48\u4e45\uff0c\u51e1\u662f\u524d\u7aef\u6846\u67b6\u76f8\u5173\u7684\u8ba8\u8bba\uff0c\u6216\u8005 iPhone vs Android\uff0c\u6216\u8005 MacBook vs Windows \u7b14\u8bb0\u672c\uff0c\u4f60\u90fd\u80fd\u770b\u5230\u4ed6\u7684\u201c\u7cbe\u5f69\u201d\u8a00\u8bba\u3002<\/p>\n<p>\u5982\u679c V \u7ad9\u6709\u70b9\u201c\u8e29\u201d\u7684\u529f\u80fd\u7684\u8bdd\uff0c\u6211\u89c9\u5f97\u6211\u5f88\u6709\u53ef\u80fd\u7ed9\u4ed6\u7684\u6bcf\u4e2a\u56de\u7b54\u90fd\u70b9\u8e29\u3002\u3002\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254890\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Rwing <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5367\u69fd\uff0c\u901b v \u7ad9\u8fd9\u4e48\u4e45\uff0c\u7b2c\u4e00\u6b21\u89c1\u5230 60 \u4e2a\u8d5e\u7684\u56de\u590d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254891\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : beyondex <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Angular \u4e00\u628a\u68ad\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254892\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @serenader \u603b\u662f\u6709\u4e00\u4e9b\u5947\u602a\u7684\u4eba\uff0c\u4ed6\u5929\u751f\u5e26\u7740\u4e00\u80a1\u4fe1\u4ef0\uff0c\u6240\u4ee5\u4ec0\u4e48\u4e1c\u897f\u7684\u597d\u90fd\u53ef\u4ee5\u89c6\u800c\u4e0d\u89c1<br \/>windows \u7684\u5e02\u5360\u6bd4\u5927\u4e8e osx\uff0c\u4ed6\u4e0d\u627f\u8ba4 windows \u7684\u597d<br \/>android \u7684\u5e02\u5360\u6bd4\u6bd4\u5927\u4e8e ios\uff0c\u4ed6\u4e0d\u627f\u8ba4\u5b89\u5353\u624b\u673a\u591f\u7528<br \/>vue \u4f5c\u4e3a\u4e00\u4eba\u625b\u5927\u6881\uff0c\u534e\u88d4\u505a\u62db\u724c\u7684\u6846\u67b6\uff0c\u5728\u4e00\u5806\u5927\u516c\u53f8\u4e3b\u5bfc\u7684\u6846\u67b6\u5f00\u53d1\u4e2d\u521b\u51fa\u4e86\u4e00\u5e2d\u4e4b\u5730\uff0c\u73b0\u5728\u4ed6\u53c8\u4e0d\u627f\u8ba4 vue \u7684\u597d\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254893\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : FreshOldMan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5b66\u8fc7\u4e00\u904d react native \u61d2\u5f97\u5b66\u5176\u4ed6\u4e86\uff0c\u76f4\u63a5 react                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254894\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : beginor <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u575a\u6301 ng \u4e0d\u52a8\u6447                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254895\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             vue \u7684\u4f18\u70b9\u5728\u54ea\u91cc\uff0c\u6211\u6765\u7ee7\u7eed\u7ed9\u4f60\u5439\u3002<\/p>\n<p>\u9996\u5148 vue \u5b8c\u7f8e\u4f20\u627f\u4e86\u524d\u7aef\u7684\u6280\u672f\u8def\u7ebf\uff0ccss \u3001js \u3001html\uff0c\u4e00\u5207\u90fd\u662f\u4f60\u719f\u6089\u7684\u4e1c\u897f\uff0c\u53ea\u4e0d\u8fc7\u73b0\u5728\u4ee5\u5de5\u7a0b\u5316\u7684\u4e1c\u897f\u7ed9\u4f60\u62fc\u4e00\u8d77\u4e86<br \/>\u524d\u7aef\u6700\u91cd\u8981\u7684\u662f\u7ed9\u522b\u4eba\u770b\uff0c\u5982\u679c\u4f60\u7684\u9879\u76ee\u662f\u5c55\u793a\u4f18\u5148\uff0c\u4ea4\u4e92\u7b2c\u4e8c\uff0c\u90a3\u4e48 vue \u975e\u5e38\u9002\u5408\u4f60\uff0c\u56e0\u4e3a\u4f60\u4f1a\u5728 html \u90e8\u5206\uff0c\u4e5f\u5c31\u662f vue \u7684 template \u90e8\u5206\u6709\u975e\u5e38\u5927\u7684\u5de5\u4f5c\u91cf<\/p>\n<p>\u5f88\u591a\u4eba\u5439\u524d\u7aef\uff0c\u90fd\u5fc5\u987b\u5e26\u4e0a\u72b6\u6001\u7ba1\u7406\uff0c\u4f46\u662f\u4f60\u5fc5\u987b\u77e5\u9053\uff0c\u9875\u9762\u591a\u3001\u5143\u7d20\u591a\u4e0d\u7b49\u4e8e\u590d\u6742\uff0c\u4e00\u5207\u80fd\u7528\u591a\u9875\u9762\u3001iframe \u3001\u5b50\u6a21\u5757\u62c6\u5206\u7684\u65b9\u5f0f\u5b9e\u73b0\u7684\u4e1c\u897f\uff0c\u518d\u591a\u4e5f\u4e0d\u53eb\u590d\u6742\uff0c\u8fd9\u4e9b\u4e1c\u897f\u5f52\u6839\u7ed3\u5e95\u8fd8\u662f\u9875\u9762\u90e8\u5206\u5de5\u4f5c\u91cf\u5927\uff0c\u53ef\u80fd\u4ea4\u4e92\u5c31\u662f\u4e00\u4e24\u4e2a\u6309\u94ae\u3001\u70b9\u51e0\u4e2a\u94fe\u63a5\u3002\u5982\u679c\u4f60\u6709\u8fd9\u79cd\u9700\u6c42\uff0c\u90a3\u4f60\u5c31\u80fd\u4eab\u53d7\u5230 vue \u7684\u597d\uff0creact \u7684 jsx \u6ca1\u6709\u6e90\u751f\u7684 for \u3001if\uff0c\u90a3\u610f\u5473\u7740\u4f60\u5fc5\u987b\u7528 map \u548c\u77ed\u8def\u8fd0\u7b97\u5b8c\u6210\u8fd9\u4e9b\u64cd\u4f5c\uff0c\u4e00\u4e2a\u4e24\u4e2a\u8fd8\u53ef\u4ee5\uff0c\u7b49\u4f60\u903b\u8f91\u591a\u4e86\uff0crender \u90e8\u5206\u5149\u4ee3\u7801\u5bf9\u9f50\u90fd\u662f\u4e00\u79cd\u5962\u671b\uff0c\u7f8e\u89c2\u5ea6\u8981\u88ab vue \u9524\u4e0a\u5929\u3002<\/p>\n<p>\u4f60\u4e5f\u8bb8\u4f1a\u8bf4\uff0cmap \u548c\u77ed\u8def\uff0cclassName \u8fd9\u4e9b\u4e1c\u897f\uff0c\u4e0d\u662f\u6e90\u751f\u7684 js \u4e48\uff1f\u6070\u6070\u56e0\u4e3a\u524d\u7aef\u4e09\u6bb5\u5f0f\u52a0\u8d77\u6765\u4e1c\u897f\u592a\u591a\uff0c\u8981\u5b66\u7684\u592a\u591a\uff0c\u6240\u4ee5 vue \u4ee5\u4e00\u79cd\u72ec\u7279\u7684\u65b9\u5f0f\u5e2e\u4f60\u51cf\u5c11\u4e86\u5b66\u4e60\u65b9\u5f0f\uff1a<\/p>\n<p>\u9996\u5148 vue \u5728\u6a21\u677f\u6807\u7b7e\u8bbe\u8ba1\u7684\u65f6\u5019\uff0c\u6cbf\u7528\u4e86 html \u7684\u6807\u7b7e\u540d\uff0c\u4f60\u5199 class\uff0cstyle\uff0c\u5728 vue \u91cc\u4f9d\u7136\u662f class\uff0cstyle\uff0cclassName \u662f\u4ec0\u4e48\uff1f\u73b0\u5728\u4e0d\u662f\u9f13\u52b1\u4e0d\u76f4\u63a5\u64cd\u4f5c dom \u4e48\uff0c\u4f60\u53ef\u4ee5\u4e0d\u77e5\u9053\u3002\u5728\u547d\u540d\u4e0a\uff0cvue \u5904\u5904\u95ea\u8000\u7740\u4ee5\u4eba\u4e3a\u672c\u7684\u5149\u8f89\uff0c\u6240\u8c13\u7684\u5b66\u4e60\u6210\u672c\uff0c\u4e0d\u8fc7\u662f\u6c34\u5230\u6e20\u6765\uff0c\u4e0d\u5b66\u5c31\u4f1a\u4e86\uff0c\u51e0\u4e4e\u6240\u6709\u7684\u8bed\u8a00\u90fd\u6709 if \u3001for\uff0c\u90a3\u4e48\u6a21\u677f\u5c31\u7ed9\u4f60 v-if \u548c v-for\uff0cat \u8fd9\u4e2a\u7b26\u53f7\u6709\u5728\u3002\u3002\u7684\u610f\u601d\uff0c\u90a3\u4e48 at \u52a0\u4e0a\u4e8b\u4ef6\u5c31\u662f\u5728\u8fd9\u4e2a\u4e8b\u4ef6\u89e6\u53d1\u7684\u65f6\u5019\u8c03\u7528\u4ec0\u4e48\u3002\u540c\u7406\uff0c\u4f60\u4f1a\u53d1\u73b0 vue \u7684 api \u8bbe\u8ba1\u975e\u5e38\u7b80\u7ec3\uff0c\u4e0d\u50cf react \u7684 api\uff0c\u4e00\u770b\u5c31\u662f cocoa \u90a3\u5957\u53c8\u957f\u53c8\u81ed\u7684\u547d\u540d\u65b9\u5f0f\uff0c\u6ca1\u4e2a\u81ea\u52a8\u8865\u5168\u90fd\u6253\u4e0d\u5bf9\u3002<\/p>\n<p>vue \u4e3a\u4ec0\u4e48\u6709\u5e02\u573a\uff1f\u56e0\u4e3a\u5927\u5bb6\u7684\u9700\u6c42\u5c31\u8fd9\u4e48\u5355\u7eaf\uff0c\u4eca\u5929\u8bf4 SPA\uff0c\u660e\u5929\u8bf4 SPA\uff0c\u771f\u6b63\u4eba\u4eba\u5728\u7528\u7684 SPA \u6709\u51e0\u4e2a\uff0c\u7684\u5374\uff0c\u5982\u679c\u4f60\u60f3\u5f00\u53d1 SPA\uff0c\u90a3\u4e48 react \u3001angular \u53ef\u80fd\u66f4\u9002\u5408\u4f60\uff0c\u4f46\u662f\u8f6c\u5ff5\u4e00\u60f3\uff0cSPA \u7684\u76ee\u7684\u662f\u8981\u53d6\u4ee3\u4e00\u90e8\u5206\u684c\u9762\u5e94\u7528\uff0c\u7136\u800c\u8fd9\u4e9b\u684c\u9762\u5e94\u7528\u90fd\u662f\u6df1\u8015\u4e86\u884c\u4e1a\u51e0\u5341\u5e74\uff0c\u8c01\u6ca1\u5e74\u72ec\u5bb6\u672c\u9886\uff0c\u8fde\u540c\u6837\u5bf9\u624b\u90fd\u6253\u4e0d\u8fc7\uff0cSPA \u62ff\u4ec0\u4e48\u53bb\u6597\uff1f\u6280\u672f\u8def\u7ebf\u5439\u4e0a\u5929\uff0c\u6700\u540e\u505a\u51fa\u6765\u7684\u4e1c\u897f\u5c31\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u5185\u5bb9\u5c55\u793a\u7cfb\u7edf\uff0c\u81f3\u4e8e\u4e48\uff1f<\/p>\n<p>\u5173\u4e8e mixin \u548c\u9ad8\u9636\u7ec4\u4ef6\u8fd9\u4e9b\u4e1c\u897f\uff0c\u6211\u65e9\u5c31\u8bf4\u8fc7\uff0c\uff08\u4e1a\u52a1\u5f00\u53d1\uff09\u524d\u7aef\u592a\u9762\u5411\u5bf9\u8c61\u662f\u53cd\u76f4\u89c9\u7684\uff0c\u5728\u5f00\u6e90\u6846\u67b6\u3001\u73b0\u6709\u89e3\u51b3\u65b9\u6848\u5b8c\u5584\u7684\u4eca\u5929\uff0c\u7ec4\u5408\u6a21\u5f0f\u505a\u7684\u52a0\u6cd5\u624d\u662f\u6b63\u786e\u7684\u65b9\u5f0f\uff0c\u6211\u9700\u8981\u4e00\u53f0\u8f66\uff0c\u90a3\u4e48\u6211\u53ea\u9700\u8981\u8d2d\u4e70\u5f15\u64ce\u3001\u8f66\u4f53\u3001\u8f6e\u80ce\uff0c\u7ec4\u88c5\u8d77\u6765\u5c31\u6709\u4e00\u53f0\u8f66\uff0c\u5982\u679c\u6709\u7a7a\u8c03\uff0c\u90a3\u5c31\u52a0\u4e00\u53f0\u7a7a\u8c03\u8fdb\u53bb\uff0c\u800c\u4e0d\u662f\u6211\u5148\u627e\u4e00\u4e2a\u62bd\u8c61\u7684 vehicle\uff0c\u7136\u540e\u7ee7\u627f\u5f97\u5230\u4e00\u4e2a car\uff0c\u6700\u540e\u518d\u7ee7\u627f\u4e00\u4e0b\u5f97\u5230\u66f4\u9ad8\u9636\u7684 sports-car\uff0c\u73b0\u6709\u7684\u6846\u67b6\u5df2\u7ecf\u80fd\u7ed9\u6211 sports-car\uff0c\u4e00\u4e2a\u53c2\u6570\u63a7\u5236\u901f\u5ea6\uff0c\u5373\u53ef\u4ee5\u4e70\u83dc\u53c8\u53ef\u4ee5\u98d9\u8f66\uff0c\u6211\u4e3a\u4ec0\u4e48\u8981 vehicle \u548c car \u8fd9\u4e9b\u4e1c\u897f\uff1f<\/p>\n<p>\u5bf9\u8fd9\u4e09\u4e2a\u6846\u67b6\uff0c\u6211\u60f3\u4e86\u5982\u4e0b\u7684\u6bd4\u55bb<\/p>\n<p>angular \u662f\u4e00\u4e2a\u65bd\u5de5\u961f\uff0c\u51e0\u4e4e\u65e0\u6240\u4e0d\u80fd\uff0c\u4f46\u662f\u592a\u91cd\u4e86\uff0c\u6211\u6316\u4e86\u6c34\u4e95\u6ca1\u5fc5\u8981\u8bf7\u4e00\u6279\u4eba\u6765<br \/>vue \u662f\u4e00\u5957\u89c4\u8303\u6307\u5357\uff0c\u4f60\u8981\u5728\u6211\u7ed9\u5b9a\u7684\u8981\u6c42\u4e0b\u5f00\u53d1\uff0c\u867d\u7136\u4f60\u5931\u53bb\u4e86\u4e00\u90e8\u5206\uff0c\u53ef\u80fd\u4e5f\u4e0d\u662f\u6700\u70ab\u9177\u7684\uff0c\u4f46\u662f\u6309\u7740\u8981\u6c42\u505a\u5c31\u53ef\u4ee5\u76d6\u8d77\u623f\u5b50\u6765\uff0c\u800c\u4e14\u4e0d\u4f1a\u90a3\u4e48\u5bb9\u6613\u5c31\u584c\u6389<br \/>react \u662f\u4e00\u5957\u529b\u5b66\u548c\u5efa\u7b51\u5b66\u6559\u6750\uff0c\u6700\u8d34\u8fd1\u539f\u59cb\u7406\u8bba\uff0c\u7ed9\u4f60\u6700\u5927\u7684\u81ea\u7531\uff0c\u6ca1\u6709\u4ec0\u4e48\u7ea6\u675f\uff0c\u4f46\u662f\u5b9e\u9645\u641e\u8d77\u6765\u81ea\u7531\u662f\u8981\u4ed8\u51fa\u4ee3\u4ef7\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254896\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : fanchangyong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @yafoo Hooks \u4e00\u65f6\u723d\uff0cuseCallback \u706b\u846c\u573a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254897\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Hanggi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur ivy \u4e86\u89e3\u4e0b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254898\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Hanggi \u4e0d\u597d\u610f\u601d\uff0c\u6211\u662f\u552f\u661f\u4e3b\u4e49\u8fd9\uff0civy \u4f60\u8bf4\u7684\u662f ivyframework \u8fd8\u662f apache ivy?                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254899\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Greenm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u524d\u7aef\u6211\u4e0d\u61c2\uff0c\u4f46\u662f\u6211\u8981\u5f97\u7f6a\u4f60\u4e00\u4e0b\uff0cpython \u662f\u5f3a\u7c7b\u578b\uff0c\u548c php, js \u4e0d\u540c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254900\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jmyz0455 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur \u8bf4\u7684\u573a\u666f\u8fd8\u662f\u633a\u8d34\u5408\u56fd\u5185\u516c\u53f8\u5f00\u53d1\u65e5\u5e38\u7684\u3002\u4f20\u53c2\u7c7b\u578b\u3001\u53c2\u6570\u4f5c\u7528\uff0c\u8fd9\u4e0d\u662f\u6ce8\u91ca\u5c31\u53ef\u4ee5\u89e3\u51b3\u7684\u4e8b\u60c5\u5692\uff0c\u54ea\u6015\u539f\u751f js \u6216\u8005 jq \u4e00\u628a\u68ad\u4e5f\u53ef\u4ee5\u505a\u5230\u7684\u3002\u6211\u5199\u8fc7\u4e00\u4e2a\u5de5\u5382\u7684\u5185\u90e8\u9879\u76ee\uff0c\u5ba2\u6237\u6307\u660e\u8981\u517c\u5bb9 ie8 \u548c\u7528 jq\uff0c\u57fa\u672c\u901a\u7528\u65b9\u6cd5\u4e00\u5199\u597d\uff0c\u8001\u662f\u8001\u4e86\u70b9\u4f46\u662f\u8dd1\u8d77\u6765\u4e00\u70b9\u95ee\u9898\u90fd\u6ca1\u6709\uff0c\u4e09\u5e74\u8fc7\u53bb\u4e86\u7ef4\u62a4\u8005\u770b\u7740\u6211\u7684\u6587\u6863\u53bb\u6539\u4e5f\u6ca1\u4e8b\uff0c\u7ef4\u62a4\u6027\u8fd8\u662f\u4ea4\u7ed9\u4eba\u53bb\u5904\u7406\u7684\uff0c\u800c\u4e0d\u662f\u5de5\u5177\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254901\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lane1 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur \u70b9\u8d5e\uff0c\u4f46 care \u8981\u52a0 s(                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254902\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : guolaopi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u524d\u7aef\u5a31\u4e50\u5708\u65e5\u5e38\u6495\uff0c\u8bf4\u4e0b\u6211\u7684\u770b\u6cd5\u3002<\/p>\n<p>\u505a\u540e\u7aef\u7684\uff0c\u4e3b\u8981\u7528 vue\uff0c\u65b0\u5efa\u4e5f\u503e\u5411\u4e8e vue \uff08 2.x \uff09\uff0c<br \/>\u4e5f\u5199\u8fc7\u4e00\u4e9b react\uff0c\u89c9\u5f97\u4e5f\u6709\u5f88\u591a\u5438\u5f15\u6211\u7684\u5730\u65b9\uff0c\u5bf9\u524d\u7aef\u4e86\u89e3\u4e0d\u6df1\u968f\u4fbf\u8bf4\u4e00\u4e0b\u3002<br \/>1.\u6570\u636e\u6d41\u95ee\u9898\uff0cvue \u7684\u53cc\u5411\u7ed1\u5b9a\u6709\u65f6\u4f1a\u51fa\u73b0\u7384\u5b66 bug \uff08\u4e5f\u53ef\u80fd\u662f\u6211\u83dc\uff09 react \u7684 setState \u76f8\u5bf9\u597d\u4e9b\uff0c\u5c31\u662f\u4ee3\u7801\u591a\u70b9\u3002<\/p>\n<p>2.\u7ec4\u4ef6\u62bd\u8c61\uff0c\u5982\u679c\u53ea\u6709\u4e24\u4e2a div \u5d4c\u5957\u7684\u7ec4\u4ef6\uff0c\u5728 react \u91cc\u5f88\u5bb9\u6613\u5c31\u5728\u540c\u4e00\u4e2a\u6587\u4ef6\u91cc\u5c01\u88c5\u6210\u4e00\u4e2a\u51fd\u6570\u7ec4\u4ef6\uff0c\u4e14\u76f4\u63a5 export \u5c31\u53ef\u4ee5\u7ed9\u522b\u5904\u7528\uff0cvue \u91cc\u5219\u8981\u65b0\u5efa\u4e2a x.vue \u6587\u4ef6\uff0ctemplate \u5565\u7684\u5199\u4e00\u5957\uff08\u53ef\u80fd\u4e5f\u6709\u7c7b\u4f3c\u7684\u65b9\u6cd5\u6211\u4e0d\u77e5\u9053\u5427\uff0c\u6211\u89c1\u8fc7\u7684\u90fd\u662f div \u5957\u4e00\u4e2a img \u7684 avatar.vue \u8fd9\u79cd\uff09\u4ee3\u7801\u91cf vue \u591a\u4e00\u4e9b\uff0c\u4f46\u662f\u6587\u4ef6\u7ed3\u6784\u4e0a vue \u66f4\u6e05\u6670\uff0c\u4ec1\u8005\u89c1\u4ec1\u5427\u3002<\/p>\n<p>3.\u5173\u4e8e react \u7684 jsx\uff0c\u8bb2\u771f react \u8ba9\u6211\u6709\u70b9\u7231\u4e0a\u4e86 js\uff0call in js \u7684\u54f2\u5b66\u67d0\u4e2a\u89d2\u5ea6\u4e0a\u6233\u5230\u4e86\u6211\u7684\u70b9\uff0c\u8bf4\u53e5\u4e0d\u597d\u542c\u7684\uff0c\u5728\u7528 react \u4e4b\u524d\u6211\u90fd\u4e0d\u77e5\u9053 js \u7684\u5c55\u5f00\u8fd0\u7b97\u7b26\u548c\u89e3\u6784\u3002\u3002\u3002vue \u64b8\u4e1c\u897f\u786e\u5b9e\u5feb\uff0c\u4f46\u662f\u5c31\u4e2a\u4eba\u800c\u8a00\uff0creact \u66f4\u9177\uff0c\u800c\u4e14 map \u5faa\u73af\u6e32\u67d3\u4e00\u70b9\u4e5f\u4e0d\u5947\u602a\uff0c\u5982\u679c\u4f60\u613f\u610f\uff0c\u751a\u81f3\u53ef\u4ee5\u76f4\u63a5\u5199 for \u5faa\u73af\uff0c\u82b1\u62ec\u53f7\u91cc\u5199 html\uff0c\u5bf9\u4e8e\u540e\u7aef\u6765\u8bf4\u66f4\u50cf\u524d\u540e\u7aef\u6ca1\u5206\u79bb\u65f6\u5019\u7684\u6a21\u7248\u8bed\u6cd5\u3002<\/p>\n<p>\u603b\u4e4b\uff0c\u76ee\u524d\u6765\u8bf4\uff0c\u5e72\u6d3b\u6211\u9009 vue\uff0c\u81ea\u5df1\u6298\u817e\u6211\u9009 react \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254903\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : guolaopi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @guolaopi #85<br \/>\u53e6\u5916 react \u751f\u547d\u5468\u671f\u51fd\u6570\u91cc\u90a3\u4e2a shouldUpdate \u5f53\u65f6\u89c9\u5f97\u6709\u70b9\u60ca\u8273\uff0c\u540e\u6765\u597d\u50cf\u5e9f\u5f03\u4e86\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254904\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lbyo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @serenader #61 \u56e0\u4e3a\u6ca1\u770b\u5230\u8fd9\u4e2a\u4eba\u7684\u56de\u590d\uff0c\u6240\u4ee5\u5f88\u597d\u5947\u600e\u4e48\u56de\u4e8b\uff0c\u770b\u5230\u6709\u4eba\u827e\u7279\u4ed6\uff0c\u5c31\u70b9\u8fdb\u4e86\u4ed6\u7684\u4e3b\u9875\uff0c\u54e6\uff0c\u5df2\u7ecf Block \u4e86\u554a\uff0c\u90a3\u6ca1\u4e8b\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254905\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Mutoo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u524d\u7aef\u8fd9\u51e0\u5e74\u7684\u8d8b\u52bf\u662f\u9010\u6e10\u9760\u62e2\u51fd\u6570\u5f0f\u7f16\u7a0b(FP, functional programming)\uff0c\u5e76\u4e14 vue \u8fd8\u5728\u5b66\u4e60 react \u7684\u8def\u4e0a\u3002<\/p>\n<p>\u5982\u679c\u524d\u7aef\u5f00\u53d1\u5bf9 FP \u6ca1\u4ec0\u4e48\u6982\u5ff5\uff0c\u5f88\u96be\u7406\u89e3 High order component\uff0cside effect \u4e4b\u7c7b\u7684\u4e1c\u897f\u3002<\/p>\n<p>react \u7684 hooks \u628a Component \u4e0e Side effect \u5206\u79bb\uff0c\u8fd9\u79cd\u5206\u79bb\u662f\u6bd4\u6a21\u7248 \/\u6570\u636e\u5206\u79bb\u66f4\u80dc\u4e00\u7b79\u7684\u8fdb\u6b65\u3002\u6240\u4ee5 vue \u7684\u4f5c\u8005\u770b\u4e86\u540e\u4e5f\u4e00\u5fc3\u60f3\u628a\u8fd9\u90e8\u5206\u6284\u8fc7\u53bb\u662f\u5f88\u6b63\u5e38\u7684\u3002<\/p>\n<p>\u4f46\u662f Vue \u5e95\u5c42\u7684 two-way binding \u5b9e\u73b0(defineReactive) \u672c\u8d28\u4e0a\u8ba9 side effect \u5f88\u96be\u6839\u9664\uff0c\u6240\u4ee5\u5f53 react hooks \u51fa\u6765\u7684\u65f6\u5019\uff0c\u6211\u5c31\u6bc5\u7136\u800c\u7136\u4ece vue \u8f6c react \u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254906\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chengxy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             angular \u9a82\u9a82\u54a7\u54a7\u7684\u79bb\u5f00\u4e86\u7fa4\u804a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254907\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : calabash519 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hoythan \u5f53\u4f60\u4e0d\u6ee1\u610f\u7684\u65f6\u5019\uff0c\u4f60\u5c31\u53bb\u6539\u53d8\u5b83\uff0c\u4e0d\u53bb\u6539\u53d8\u5728\u8fd9\u91cc bb \u5565\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254908\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : alleluya <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zhwithsweet \u54ea\u91cc\u90fd\u6709\u5200\u65af\u6797 \u5c31\u662f\u4e0d\u5728 DOTA \u91cc? \u54c8\u54c8                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254909\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Hanggi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur \u552f\u661f\u6ca1\u95ee\u9898\uff0c\u4f46\u662f\u611f\u89c9\u56fd\u5185\u7528\u6237\u53c2\u4e0e\u591a\u7684\u9879\u76ee\uff0c\u661f\u661f\u6570\u9700\u8981\u6253\u4e2a\u6298\uff0c\u6ca1\u95ee\u9898\u5427\uff1f<br \/>\u4e0d\u8dd1\u9898\uff0c\u6211\u8bf4\u7684\u662f Angular ivy\uff0c\u53ef\u4ee5\u4e86\u89e3\u4e0b\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254910\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Keyes <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @chengxy hhhhhh \u540c\u9000\u7fa4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254911\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : djs <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7231\u7528\u5565\u7528\u5565\uff0c\u516c\u53f8\u8ba9\u7528\u5565\u5c31\u7528\u5565\uff0c\u90fd\u662f\u5de5\u5177\u800c\u5df2                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254912\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jon <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u662f\u5f88\u61c2\u4f60\u4eec\u524d\u7aef\u5708                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254913\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : SilentDepth <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u771f\u5fc3\u7684\u554a\uff0c\u4e0d\u662f\u8bf4 React \u4e0d\u597d\uff0c\u4e5f\u4e0d\u662f\u4e0d\u7406\u89e3 React \u7c89\u4e1d\u7ef4\u62a4 React \u5f62\u8c61\u7684\u70ed\u60c5\uff0c\u751a\u81f3\u53ef\u4ee5\u63a5\u53d7\u9ed1 Vue \u7684\u52a8\u673a\uff0c\u4f46\u6709\u4e9b\u4eba\u9ed1\u7684\u5b9e\u5728\u662f\u6ca1\u6c34\u5e73\uff0c\u9053\u7406\u4e0d\u5728\u70b9\u4e0a\uff0c\u8bdd\u4e5f\u8bf4\u4e0d\u660e\u767d\uff0c\u4ee4\u4eba\u6349\u6025                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254914\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dandd134 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u65e5\u5e38 b2b \u4e4b\u4e89                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254915\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Hanggi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @SilentDepth <br \/>\u6280\u672f\u6ca1\u6709\u597d\u574f\uff0c\u4f46\u662f Vue \u62db\u4eba\u9ed1\u611f\u89c9\u4e3b\u8981\u662f\u4e24\u70b9\uff1a<br \/>1. \u53ef\u80fd\u662f Vue \u4e00\u76f4\u5728\u6284\u88ad\u5176\u4ed6\u4e3b\u6d41\u6846\u67b6\uff0c\u50cf v-if, v-for \u8fd9\u79cd\u4e1c\u897f\u660e\u663e\u4ece Angular \u6284\u6765\u7684\uff0cState, hook \u4ec0\u4e48\u7684\u53c8\u53bb\u5c71\u5be8 React \u3002<br \/>2. \u5c31\u662f\u6253\u6298\u56fd\u4eba\u5f00\u53d1\u7684\u524d\u7aef\u6846\u67b6\u7684\u65d7\u53f7\u5708\u7c89\uff0c\u5237 github \u661f\u661f\u3002<\/p>\n<p>\u4e0d\u77e5\u5bf9\u4e0d\u5bf9\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254916\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tomieric <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6700\u8fd1\u5728\u51e0\u4e2a\u9879\u76ee\u7528\u4e86 ts+compsition api\uff0ccomposable \uff08 hooks \uff09\u786e\u5b9e\u7406\u89e3\u4e0d\u6df1\uff0c\u4f46\u786e\u5b9e\u597d\u7528\uff0c\u8bf4\u6284\u4e5f\u597d\uff0c\u6bd4\u5982 ios \u6709\u4e2a app\uff0c\u73b0\u5728\u5b89\u5353\u518d\u5f04\u4e00\u4e2a\u540c\u6837\u7684\uff0c\u63d0\u4f9b\u4e86\u65b9\u4fbf\u3002vue3 \u5347\u7ea7\u66f4\u597d\u652f\u6301 ts \u548c tree-sheeking<\/p>\n<p>\u5176\u5b9e\u5bf9\u4e8e vue \u548c react \u4e0d\u7528\u5c3d\u529b\u53bb\u9ed1\uff0c\u6280\u672f\u6808\u9009\u62e9\u770b\u516c\u53f8\u7684\u4e1a\u52a1\u89c4\u6a21\u3002\u4e4b\u524d\u9009\u62e9 vue \u4f5c\u4e3a\u6280\u672f\u6808\u662f\u7ec4\u5458\u90fd\u6ca1\u6709 mvvm \u6846\u67b6\u7c7b\u4f3c\u5f00\u53d1\u7ecf\u9a8c\uff0c\u4ece jq \u8f6c\u8fc7\u6765\uff0c\u5927\u591a\u6570\u5207\u56fe\u4e3a\u4e3b\u3002\u5728\u4e1a\u52a1\u4ee5\u540e\u53f0\u7ba1\u7406\u7cfb\u7edf\u4e3a\u4e3b\uff0c\u6301\u7eed\u8fed\u4ee3\u540e\uff0cvue \u611f\u89c9\u5f00\u59cb\u5403\u529b\uff0c\u4e00\u662f\u751f\u6001\u7684\u63d2\u4ef6\u7ec4\u4ef6\u4e0d\u591f\u4e30\u5bcc\uff0c\u50cf element-ui \u8fd9\u79cd kpi \u9879\u76ee\uff0c\u56e2\u961f\u90fd\u8dd1\u5b87\u5b99\u6761\u4e86\uff0c\u5269\u4e0b\u7ef4\u62a4\u7684\u4eba\u57fa\u672c\u4e0d\u591a\u4e86\u3002\u5728\u4eba\u5458\u4e0d\u52a0\u60c5\u51b5\u4e0b\uff0c\u4e1a\u52a1\u7ebf\u8d8a\u6765\u8d8a\u591a\uff0c\u66f4\u591a\u6d41\u6c34\u7ebf\u4e1a\u52a1\uff0c\u5176\u5b9e\u9009\u4e2d umi+ant \u66f4\u52a0\u8ddf\u7684\u4e0a\u3002\u5728\u505a editor \u5236\u4f5c\u5de5\u5177\u590d\u5e94\u7528\u4e0a\u7ec4\u5458\u5f15\u5165\u4e86 react \u7684\u7ec4\u4ef6\uff0c\u901a\u8fc7 vuera \u6574\u5408\uff0c\u9879\u76ee\u540c\u65f6\u5b58\u5728\u4e86 vue \u548c react<\/p>\n<p>\u5982\u679c\u91cd\u6765\uff0c\u6839\u636e\u6211\u4eec\u7684\u4e1a\u52a1\uff0c\u4f1a\u9009 react \u6280\u672f\u6808\u5427\uff0c\u65e0\u5173\u4e24\u79cd\u6846\u67b6\u4f18\u52a3\uff0c\u8fd8\u662f\u4ece\u5b9e\u9645\u51fa\u53d1                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1254917\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : SilentDepth <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Hanggi #98 <br \/>\u8001\u5b9e\u8bb2\uff0c\u8fd9\u4e9b\u300c\u9ed1\u70b9\u300d\u771f\u7684\u8ba9\u4eba\u597d\u7b11\uff1a<\/p>\n<p>1. \u522b\u4eba\u7684\u597d\u81ea\u5df1\u7684\u4e0d\u80fd\u5b66\uff0c\u81ea\u5df1\u7684\u597d\u522b\u4eba\u4e0d\u80fd\u60f3\uff0c\u8fd9\u5708\u5b50\u8fd8\u600e\u4e48\u53d1\u5c55\uff1f\u95ed\u5173\u9501\u56fd\u662f\u653f\u6cbb\u6b63\u786e\u4e86\uff1f\u9000\u4e00\u6b65\u8bb2\uff0cVue \u5c31\u4ece Angular \u300c\u62ff\u6765\u4e3b\u4e49\u300d\u4e86\u53c8\u600e\u6837\uff0cVue \u4ece\u6765\u4e5f\u6ca1\u8bf4\u8fd9\u662f\u539f\u521b\u554a\u3002\u57fa\u4e8e\u7c7b HTML \u5c5e\u6027\u5b9e\u73b0\u6307\u4ee4\u7cfb\u7edf\uff0cAngular \u548c Vue \u90fd\u4e0d\u662f\u9996\u521b\uff0c\u600e\u4e48\u5230\u4e86 Vue \u5934\u4e0a\u5c31\u6210\u6284\u88ad\u539f\u7f6a\u4e86\uff0c\u770b\u4e0d\u660e\u767d\u3002State \u548c Hook \u540c\u7406\u3002\uff08\u4e0d\u8fc7\u8bb2\u771f\uff0cVue \u548c React \u7684 State \u548c Hook \u662f\u4e00\u56de\u4e8b\u5417\uff1f\uff09<br \/>2. \u8fd9\u4e2a\u6700\u8ba9\u4eba\u65e0\u8bed\u4e86\uff0c\u6562\u60c5\u56fd\u4eba\u5f00\u53d1\u662f\u539f\u7f6a\uff0c\u56fd\u4eba\u5f00\u53d1\u7684\u4ea7\u54c1\u5728\u56fd\u4eba\u5708\u5b50\u91cc\u5ba3\u4f20\u4e5f\u662f\u539f\u7f6a\u3002\u5728\u8fd9\u4e00\u70b9\u4e0a\u6211\u771f\u662f\u53ef\u601c\u8096\u6218\uff0c\u6d3b\u751f\u751f\u88ab\u7c89\u4e1d\u6d88\u8d39\u4e86\u3002<\/p>\n<p>PS: \u6211\u4e0d\u4e86\u89e3\u5a31\u4e50\u5708\uff0c\u300c\u8096\u6218\u300d\u4e00\u4e8b\u53ea\u662f\u5237\u5fae\u535a\u65f6\u95f4\u7ebf\u770b\u5230\u7684\uff0c\u53ef\u80fd\u6709\u7406\u89e3\u9519\u8bef\u7684\u5730\u65b9\uff0c\u4ec5\u4f9b\u4e3e\u4f8b\uff0c\u5927\u5bb6\u660e\u767d\u6211\u7684\u610f\u601d\u5c31\u597d\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Vue3.0 \u4ece\u5165\u95e8\u5230\u5b66\u4f1a Rea&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/135368"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=135368"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/135368\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=135368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=135368"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=135368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}