{"id":201603,"date":"2020-11-25T05:14:16","date_gmt":"2020-11-24T21:14:16","guid":{"rendered":"http:\/\/4563.org\/?p=201603"},"modified":"2020-11-25T05:14:16","modified_gmt":"2020-11-24T21:14:16","slug":"%e9%bb%91%e5%b8%95%e4%ba%91%e5%89%8d%e7%ab%af%e6%80%a7%e8%83%bd%e6%8f%ad%e7%a7%98-react-%e6%80%a7%e8%83%bd%e8%b0%83%e4%bc%98-%e4%b8%8a%e7%af%87","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=201603","title":{"rendered":"\u9ed1\u5e15\u4e91\u524d\u7aef\u6027\u80fd\u63ed\u79d8 &#8211; React \u6027\u80fd\u8c03\u4f18 \u4e0a\u7bc7"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u9ed1\u5e15\u4e91\u524d\u7aef\u6027\u80fd\u63ed\u79d8 &#8211; React \u6027\u80fd\u8c03\u4f18 \u4e0a\u7bc7               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : YoyoMa <\/span>  <span><i><\/i> 6<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u8f6c\u8f7d\u81ea\u77e5\u4e4e:https:\/\/zhuanlan.zhihu.com\/p\/296329343<\/p>\n<blockquote>\n<p>\u9ed1\u5e15\u4e91\u7248\u6743\u6240\u6709\uff0c\u672a\u7ecf\u5141\u8bb8\uff0c\u7981\u6b62\u8f6c\u8f7d<\/p>\n<\/blockquote>\n<h2>\u592a\u957f\u4e0d\u8bfb\u7248<\/h2>\n<ul>\n<li><em>\u4ec0\u4e48\u662f\u9ed1\u5e15\u4e91\u6280\u672f\u535a\u5ba2<\/em><\/li>\n<li><em>\u9ed1\u5e15\u4e91\u771f\u5b9e\u7684\u524d\u7aef\u6027\u80fd\u6848\u4f8b<\/em><\/li>\n<li><em>\u8c03\u4f18\u5de5\u5177 FPS extension \u548c Chrome Performance \u6559\u7a0b<\/em><\/li>\n<li><em>\u6027\u80fd\u4f18\u5316\u7684\u4e00\u4e9b\u601d\u8003<\/em><\/li>\n<\/ul>\n<p>\u5404\u4f4d\u597d\uff0c\u8fd9\u91cc\u662f <strong>\u9ed1\u5e15\u4e91\u6280\u672f\u535a\u5ba2<\/strong> \uff0c\u6211\u662f\u9ed1\u5e15\u4e91\u7684\u8f6f\u4ef6\u5f00\u53d1\u5de5\u7a0b\u5e08\u3002\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u4f1a\u628a\u4e0d\u5b9a\u671f\u7684\u5206\u4eab\u5f00\u53d1\u9ed1\u5e15\u4e91\u8fc7\u7a0b\u4e2d\u503c\u5f97\u603b\u7ed3\u7684\u77e5\u8bc6\uff0c\u7ecf\u9a8c\uff0c\u6700\u4f73\u5b9e\u8df5\uff0c\u751a\u81f3\u662f\u6559\u8bad\u3002\u5e0c\u671b\u901a\u8fc7\u6280\u672f\u535a\u5ba2\uff0c\u8ba9\u66f4\u591a\u7684\u5de5\u7a0b\u5e08\u8ba4\u8bc6\u6211\u4eec\uff0c\u8ba4\u8bc6\u9ed1\u5e15\u4e91\u3002<\/p>\n<p>\u60ef\u4f8b\u6765\u4e00\u4e2a\u5e7f\u544a\u5427\uff0c\u9ed1\u5e15\u4e91 \u2014\u2014 \u65b0\u4e00\u4ee3\u7684\u6570\u636e\u534f\u4f5c\u5e73\u53f0\uff0c \u8ba9\u4efb\u4f55\u4eba\u90fd\u80fd\u901a\u8fc7\u6700\u719f\u6089\u7684\u6280\u80fd\uff0c\u6784\u5efa\u6ee1\u8db3\u5176\u9700\u6c42\u7684\u5de5\u5177\uff0c\u4f7f\u8f6f\u4ef6\u521b\u5efa\u6c11\u4e3b\u5316\u3002\u4f60\u503c\u5f97\u62e5\u6709\uff1a\uff09\u4f5c\u4e3a\u7a0b\u5e8f\u5458\uff0c\u4e5f\u53ef\u4ee5\u7528\u9ed1\u5e15\u4e91\u65b9\u4fbf\u5feb\u6377\u7684\u642d\u5efa\u81ea\u5df1\u7684\u6570\u636e\u7ba1\u7406\u4e2d\u5fc3\uff0c\u4e0d\u4e00\u5b9a\u4ec0\u4e48\u4e1c\u897f\u90fd\u8981\u81ea\u5df1\u52a8\u624b\u5199\u4ee3\u7801\uff0c\u6a21\u677f\u4e2d\u5fc3\u6709\u4e0d\u5c11\u597d\u7528\u7684\u5e94\u7528\uff0c\u503c\u5f97\u4e00\u770b\u3002<\/p>\n<h2><strong>\u5f15\u5b50<\/strong><\/h2>\n<p>\u5728 Reactjs \u5927\u884c\u5176\u9053\u7684\u4eca\u5929\uff0c\u524d\u7aef\u6027\u80fd\u4f18\u5316\u4f3c\u4e4e\u4e0e\u5f00\u53d1\u8005\u8d8a\u6765\u8d8a\u8fdc\uff0c\u56e0\u4e3a React \u786e\u5b9e\u5f88\u5feb\u3002React \u51ed\u501f\u7740 Virtual DOM \u7684\u62bd\u8c61\uff0c\u8ba9\u5f00\u53d1\u4e2d\u53ea\u5173\u6ce8\u7ec4\u4ef6\u4e2d\u7684 state \u548c props\uff0c\u6846\u67b6\u81ea\u5df1\u64cd\u4f5c\u6d4f\u89c8\u5668\u66f4\u65b0 DOM\uff0c\u8fbe\u5230\u6700\u4f73\u6027\u80fd\u3002\u56de\u60f3\u8d77\u5f53\u5e74\u521d\u8bc6 React\uff0c\u66fe\u88ab\u8fd9\u4e2a\u201c\u5927\u80c6\u7684\u60f3\u6cd5\u201d\u60ca\u7684\u201c\u76f4\u547c\u5185\u884c\u201d\uff0c\u4e0d\u8fc7\u73b0\u5728\u60f3\u60f3\uff0c\u6709\u90a3\u4e48\u70b9\u7c7b\u4f3c\u4e8e\u7ecf\u5178\u7684\u201c\u6307\u9488\u6bb5\u5b50\u201d\uff1a <strong>C++\u8bf4\uff0c\u6307\u9488\u592a\u91cd\u8981\u4e86\uff0c\u4e00\u5b9a\u8981\u8ba9\u7a0b\u5e8f\u5458\u81ea\u5df1\u7ba1\u7406\u3002Java \u8bf4\uff0c\u6307\u9488\u592a\u91cd\u8981\u4e86\uff0c\u4e00\u5b9a\u4e00\u5b9a\u4e0d\u80fd\u8ba9\u7a0b\u5e8f\u5458\u81ea\u5df1\u7ba1\u7406\uff08\u542c\u61c2\u9f13\u638c\uff09\u3002<\/strong><\/p>\n<p>\u4f46 React \u4e5f\u4e0d\u662f\u4e07\u80fd\u7684\uff0c\u5728\u67d0\u4e9b\u573a\u666f\u4e0b\uff0cReact \u4e5f\u4f1a\u5f88\u6162\uff0c\u6162\u7684\u4ee4\u4eba\u53d1\u6307\u3002\u95ee\u9898\u4e0d\u5916\u4e4e\u4e24\u79cd\uff1a\u8981\u4e48\u5c31\u662f\u5f00\u53d1\u4eba\u5458\u81ea\u5df1\u72af\u4e86\u9519\u8bef\uff0c\u8981\u4e48\u5c31\u662f\u4f60\u7684\u4e1a\u52a1\u573a\u666f\u5df2\u7ecf\u8d85\u51fa\u4e86 React \u80fd\u5904\u7406\u7684\u8303\u56f4\u3002\u53ef\u60dc\u5728\u7edd\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u90fd\u662f\u5f00\u53d1\u81ea\u5df1\u7684\u95ee\u9898\u3002\u4e0b\u9762\u901a\u8fc7\u4e00\u4e2a\u771f\u5b9e\u7684\u6848\u4f8b\uff0c\u5206\u4eab\u4e00\u4e0b\u9ed1\u5e15\u4e91\u524d\u7aef\u6027\u80fd\u8c03\u4f18\u7684\u6545\u4e8b\u3002<\/p>\n<h2><strong>\u6027\u80fd\u95ee\u9898\u51fa\u73b0<\/strong><\/h2>\n<blockquote>\n<p><em><strong>\u6027\u80fd bug \u6bd4\u529f\u80fd bug \u66f4\u96be\u4ee5\u5bdf\u89c9<\/strong><\/em><\/p>\n<\/blockquote>\n<p>\u9996\u5148\u7b80\u5355\u7684\u4ecb\u7ecd\u4e00\u4e0b\u9ed1\u5e15\u4e91\u4e2d\u7684\u57fa\u672c\u6982\u5ff5\uff1a<\/p>\n<ol>\n<li><strong>\u5e94\u7528<\/strong> \uff1a\u5e2e\u52a9\u5ba2\u6237\u5b8c\u6210\u67d0\u79cd\u529f\u80fd\u7684\u5e94\u7528\uff0c\u6bd4\u5982\u201c <strong>\u5de5\u8d44\u8868\u7ba1\u7406<\/strong> \u201d\uff0c\u4e00\u4e2a <strong>\u5e94\u7528<\/strong> \u5305\u62ec\u591a\u5f20 <strong>\u6570\u636e\u8868<\/strong><\/li>\n<li><strong>\u6570\u636e\u8868<\/strong> \uff1a\u7ba1\u7406\u5e94\u7528\u67d0\u4e00\u7c7b\u6570\u636e\u7684\u96c6\u5408\uff0c\u6bd4\u5982 <strong>\u5de5\u8d44\u8868<\/strong> \uff0c <strong>\u5458\u5de5<\/strong> \u7b49\uff0c\u8bb0\u5f55\u4e86\u6bcf\u4e00\u4e2a\u5458\u5de5\u7684\u5de5\u8d44\u4fe1\u606f<\/li>\n<\/ol>\n<p>\u67d0\u5929\uff0c\u9ed1\u5e15\u4e91\u7684 CEO \u7c73\u9ad8\u7ed9\u6211\u53cd\u9988\uff0c\u8bf4\u4ed6\u5728\u5e94\u7528\u4e2d\u5207\u6362\u6570\u636e\u8868\u65f6\u4e0d\u591f\u6d41\u7545\uff0c\u6ca1\u6709\u90a3\u79cd\u201c\u4e1d\u822c\u987a\u6ed1\u201d\u7684\u611f\u89c9\uff0c\u5e76\u4e14\u5728\u6570\u636e\u8f83\u591a\u7684\u65f6\u6ede\u540e\u611f\u66f4\u52a0\u660e\u663e\uff0c\u8ba9\u6211\u60f3\u60f3\u529e\u6cd5\u89e3\u51b3\u3002<\/p>\n<p>\u5f53\u65f6\u7684\u7b2c\u4e00\u53cd\u5e94\u662f\u6709\u70b9\u61f5\u903c\u7684\uff0cCEO \u611f\u89c9\u4e0d\u591f\u201c\u987a\u6ed1\u201d\uff0c\u53ef\u662f\u6211\u611f\u89c9\u633a\u597d\u7684\u5440\uff0c\u8fd9\u73a9\u610f\u89c1\u4ec1\u89c1\u667a\u600e\u4e48\u641e(\u256f\u2035\u25a1\u2032)\u256f\ufe35\u253b\u2501\u253b<\/p>\n<p>\u51b7\u9759\u5206\u6790\u4e4b\u540e\uff0c\u60f3\u8d77\u6765\u9875\u9762\u7684 <strong>\u5e27\u7387<\/strong> \u5c31\u53ef\u4ee5\u5ea6\u91cf\u9875\u9762\u7684\u987a\u6ed1\u5ea6\u3002\u8bf4\u8d77\u5e27\u7387\u6709\u7684\u540c\u5b66\u53ef\u80fd\u6709\u70b9\u964c\u751f\uff0c\u4f46\u8bf4\u8d77 <strong>FPS<\/strong> \u4f60\u80af\u5b9a\u542c\u8fc7\u3002 <strong>FPS (frame per second)<\/strong> \u6bcf\u79d2\u5e27\u6570\uff0c\u7b80\u5355\u6765\u8bf4\u5c31\u662f\u6bcf\u79d2\u663e\u793a\u591a\u5c11\u4e2a\u753b\u9762\u3002FPS \u7684\u503c\u8d8a\u9ad8\uff0c\u9875\u9762\u8d8a\u6d41\u7545\u3002\u5728\u8fd9\u91cc\u6211\u63a8\u8350 FPS extension\uff0c\u4e00\u4e2a chrome \u7684\u63d2\u4ef6\uff0c\u53ef\u4ee5\u975e\u5e38\u65b9\u4fbf\u7684\u663e\u793a\u9875\u9762\u5b9e\u65f6\u5e27\u7387\u3002<\/p>\n<p>FPS Extension\uff0c\u9700\u8981\u5bcc\u5f3a<\/p>\n<p>\u6d4b\u8bd5\u4e4b\u540e\u53d1\u73b0\u5728\u8868\u683c\u5207\u6362\u7684\u65f6\u5019\uff0c\u5e27\u7387\u4f1a\u6025\u901f\u4e0b\u964d\u5230\u4e2a\u4f4d\u6570\uff0c\u96be\u602a\u7c73\u9ad8\u4f1a\u89c9\u5f97\u4e0d\u591f\u6d41\u7545\uff08\u6700\u4f18\u5e27\u7387\u662f 60\uff0c\u8d8a\u9ad8\u8d8a\u597d\uff09\u3002\u8fd9\u79cd\u5361\u987f\u5927\u6982\u7387\u662f\u5728\u66f4\u65b0 DOM \u65f6\u53d1\u751f\u4e86\u4ec0\u4e48\uff0c\u963b\u585e UI \u6e32\u67d3\u7ebf\u7a0b\u5bfc\u81f4\u7684\uff0c\u6211\u5f97\u53bb\u770b\u770b\u4ee3\u7801\u4e86\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201125_5fbe58b4ef164.gif\" alt=\"\u9ed1\u5e15\u4e91\u524d\u7aef\u6027\u80fd\u63ed\u79d8 - React \u6027\u80fd\u8c03\u4f18 \u4e0a\u7bc7\" \/><\/p>\n<p>\u56fe 1.\u51fa\u73b0\u4e86\u201c\u5e27\u7387\u6df1\u6e0a\u201d\uff0c\u5e76\u4f34\u968f\u4e25\u91cd\u7684\u5361\u987f\uff0c\u4f53\u9a8c\u4e0d\u591f\u597d<\/p>\n<h2><strong>Review \u4ee3\u7801<\/strong><\/h2>\n<blockquote>\n<p><em><strong>\u4e0d\u88ab\u522b\u4eba\u9a82 WTF \u7684\u4ee3\u7801\u5c31\u662f\u597d\u4ee3\u7801<\/strong><\/em><\/p>\n<\/blockquote>\n<p>\u8fc7\u4e86\u4e00\u904d\u4ee3\u7801\uff0c\u52a0\u8f7d\u6570\u636e\u8868\u9875\u9762\u903b\u8f91\u5927\u81f4\u5982\u4e0b\uff1a<\/p>\n<ol>\n<li>TablePage \u7ec4\u4ef6\u53d1\u9001 API \u8bf7\u6c42\u83b7\u53d6\u8be5\u6570\u636e\u8868\u7684\u6240\u6709 Records(\u4e00\u4e2a record \u4ee3\u8868\u4e00\u884c\u6570\u636e)<\/li>\n<li>\u83b7\u53d6\u6210\u529f\u540e\uff0cdispatch redux action \u5c06\u6240\u6709 records \u5199\u5165 redux store \uff08\u5c31\u662f redux \u7ecf\u5178\u7684\u90a3\u4e00\u5957\uff09<\/li>\n<li>TablePage \u7ec4\u4ef6\u76d1\u542c state.records \u7684\u53d8\u5316\uff0c\u5f00\u59cb\u8fdb\u884c\u6e32\u67d3<\/li>\n<\/ol>\n<p>\u4ece\u4ee3\u7801\u4e2d\u6ca1\u6709\u53d1\u73b0\u4ec0\u4e48\u6709\u4ef7\u503c\u7684\u7ebf\u7d22\uff0c\u521d\u6b65\u8bf4\u660e\u5f00\u53d1\u6ca1\u6709\u72af\u4f4e\u7ea7\u9519\u8bef\u5bfc\u81f4\u6027\u80fd\u95ee\u9898\u3002\u90a3\u4e48\u6839\u636e\u4e0a\u8ff0\u4ee3\u7801\u903b\u8f91\uff0c\u6709\u53ef\u80fd\u662f\u4e0b\u9762\u52a8\u4f5c\u6162\u4e86\uff1a<\/p>\n<ol>\n<li>api \u5904\u7406\u8bf7\u6c42\u6162\u4e86<\/li>\n<li>Reducer \u51fd\u6570\u6162\u4e86<\/li>\n<li>TablePage \u7ec4\u4ef6\u6e32\u67d3\u65b0\u9875\u9762\u6162\u4e86<\/li>\n<\/ol>\n<p>\u901a\u8fc7 chrome \u7684 network \u770b\u5230\u8bf7\u6c42\u5e76\u4e0d\u6162\uff08\u7ed9\u540e\u7aef\u540c\u5b66\u7529\u9505\u65f6\u8981\u6709\u7406\u6709\u636e\uff09\uff0c\u90a3\u4e48\u9996\u5148\u6000\u7591 Reducer \u51fd\u6570\u5427\u3002<\/p>\n<h2><strong>Reducer \u6162\uff1f<\/strong><\/h2>\n<blockquote>\n<p><em><strong>\u4e00\u9879\u5de5\u4f5c\u5982\u679c\u4f60\u65e0\u6cd5\u5ea6\u91cf\u4ed6\uff0c\u4f60\u5c31\u65e0\u6cd5\u4f18\u5316\u4ed6<\/strong><\/em><\/p>\n<\/blockquote>\n<p>\u6839\u636e React \u7684\u5b9a\u4e49\uff0cRedux Action \u662f\u4e00\u4e2a\u7b80\u5355\u7684 js \u5bf9\u8c61\uff0c\u7528\u6765\u89e6\u53d1 Reducer \u51fd\u6570\u66f4\u6539 Redux Store \u91cc\u9762\u7684\u6570\u636e\u3002\u5728\u7528\u6237\u5207\u6362\u6570\u636e\u8868\u65f6 dispatch \u4e86\u4e0d\u6b62\u4e00\u4e2a action\uff0c\u9700\u8981\u627e\u51fa\u6700\u6162\u7684\u90a3\u4e00\u4e2a\u3002NPM \u5305 redux-perf-middleware \u662f \u4e00\u4e2a redux \u7684 \uff0c\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u7684 console \u4e2d\u8f93\u51fa\u5904\u7406\u6bcf\u4e00\u4e2a action \u7684\u65f6\u95f4\u3002<\/p>\n<p>https:\/\/github.com\/AvraamMavridis\/redux-perf-middleware<\/p>\n<p>\u4f7f\u7528\u8d77\u6765\u4e5f\u975e\u5e38\u7b80\u5355\uff0c\u52a0\u8f7d redux \u7684 middleware \u91cc\u9762\u5c31\u53ef\u4ee5\u4e86<\/p>\n<pre><code>\/\/\u8bb0\u5f97\u53ea\u5728 dev \u73af\u5883\u4e0b\u4f7f\u7528 import reduxPerfLogger from 'redux-perf-middleware'; const middleware = process.env.NODE_ENV !== \"production\"                   ? [reduxPerfLogger ,getDefaultMiddleware()[1]]                   : getDefaultMiddleware(); <\/code><\/pre>\n<p>\u5b89\u88c5\u5b8c\u6210\u4e4b\u540e\u5237\u65b0\u9875\u9762\uff0c\u5728\u6d4f\u89c8\u5668\u91cc\u6d4b\u8bd5\u4e86\u4e00\u4e0b\u6765\u56de\u5207\u6362 5000 \u6761 Records \u7684\u6570\u636e\u8868\uff0c\u5c31\u53ef\u4ee5\u770b\u5230\u8f93\u51fa\u7ed3\u679c\u3002<\/p>\n<p>\u53ef\u4ee5\u770b\u5230\u5904\u7406 getTableInitialRecordsSuccess action \u82b1\u4e86\u5feb 400ms\uff0c\u96be\u602a\u5e27\u7387\u53ea\u6709\u4e2a\u4f4d\u6570\u3002Review \u4ee3\u7801\u65f6\u6ca1\u89c9\u5f97 Reducer \u91cc\u9762\u6709\u4ec0\u4e48\u7279\u6b8a\u7684\u903b\u8f91\uff0c\u4e0d\u5e94\u8be5\u8fd9\u4e48\u6162\uff0c\u770b\u6765\u6211\u4eec\u9700\u8981\u8fdb\u4e00\u6b65\u627e\u51fa Reducer \u7684\u6027\u80fd\u70ed\u70b9\u3002<\/p>\n<h2><\/h2>\n<p><strong>Reducer \u6162\uff01<\/strong><\/p>\n<blockquote>\n<p><em>\u5982\u679c\u8981\u628a\u9875\u9762\u5e27\u7387\u4f18\u5316\u5230\u6700\u4f18\u7684 60 \u5e27\uff0c\u90a3\u5c31\u610f\u5473\u7740\u9875\u9762\u4e00\u6b21\u5237\u65b0\u65f6\u95f4\u4e0d\u80fd\u8d85\u8fc7 1000ms \/ 60 = 16.67 ms \u3002<\/em><\/p>\n<\/blockquote>\n<p>\u8981\u60f3\u77e5\u9053\u67d0\u4e00\u6bb5\u903b\u8f91\u54ea\u91cc\u6162\uff0c\u5f53\u7136\u53ef\u4ee5\u901a\u8fc7 console.log \u6253\u5370\u5904\u7406\u65f6\u95f4\uff0c\u4e0d\u8fc7\u6211\u66f4\u52a0\u63a8\u8350\u4f7f\u7528 chrome devtool \u4e2d\u7684 performance \u5de5\u5177\uff0c\u53ef\u4ee5\u975e\u5e38\u65b9\u4fbf\u627e\u51fa\u9875\u9762\u67d0\u4e00\u6bb5\u65f6\u95f4\u5185\u7684\u9875\u9762\u7684\u6027\u80fd\u76f8\u5173\u6570\u636e\u3002<\/p>\n<p>chrome devtool performance \u7b80\u4ecb<\/p>\n<p>\u4f7f\u7528\u65b9\u6cd5\u4e5f\u5f88\u7b80\u5355\uff0c\u6253\u5f00\u4f60\u60f3\u8981\u6d4b\u8bd5\u7684\u7f51\u9875\uff0c\u6253\u5f00 chrome \u7684 devtool\uff0c\u9009\u4e2d performance\uff0c\u7136\u540e\u70b9\u51fb\u4e0b\u9762\u7684\u5f55\u5236\u6309\u94ae\uff0c\u63a5\u7740\u5728\u9875\u9762\u5f00\u59cb\u64cd\u4f5c\uff0c\u64cd\u4f5c\u5b8c\u6210\u540e\u70b9\u51fb\u7ed3\u675f\u6309\u94ae\uff0c\u5c31\u80fd\u770b\u5230\u5206\u6790\u7ed3\u679c\u4e86\u3002\u5207\u8bb0\u8981\u7528\u6253\u5305\u538b\u7f29\u8fc7\u540e\u7684 js \u8dd1\uff0c\u5e76\u4e14\u4fdd\u8bc1\u6d4f\u89c8\u5668\u6ca1\u6709\u5f00\u542f\u4efb\u4f55\u591a\u4f59\u7684\u63d2\u4ef6\uff0c\u4fdd\u8bc1\u73af\u5883\u7684\u5e72\u51c0\u5bf9\u6d4b\u8bd5\u5f88\u91cd\u8981\uff01<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201125_5fbe58b8315c3.jpg\" alt=\"\u9ed1\u5e15\u4e91\u524d\u7aef\u6027\u80fd\u63ed\u79d8 - React \u6027\u80fd\u8c03\u4f18 \u4e0a\u7bc7\" \/><\/p>\n<p>\u56fe 4. chrome performance \u7684\u8f93\u51fa\u7ed3\u679c<\/p>\n<p>\u4ece\u56fe 4 \u4e2d\u53ef\u4ee5\u770b\u5230\uff0c\u6700\u4e0a\u9762\u7684\u4e00\u5757\u533a\u57df\u662f <strong>\u603b\u4f53\u6982\u89c8\u7684\u65f6\u95f4\u8f74<\/strong> \uff0c\u8bb0\u5f55\u4e86\u6d4b\u8bd5\u8fc7\u7a0b\u4e2d\u7684\u8d77\u70b9\u548c\u7ec8\u70b9\uff08\u84dd\u8272\u65b9\u6846\u4e2d\u7a81\u51fa\u7684 <strong>\u7ea2\u8272\u5c0f\u70b9<\/strong> \u5c31\u662f\u6d4f\u89c8\u5668\u53d1\u73b0\u7684\u5361\u987f\u73b0\u8c61\uff09\u3002\u4e2d\u95f4\u4e00\u5757\u533a\u57df\u5305\u62ec\u4e86\u7f51\u7edc\u8c03\u7528\u60c5\u51b5\uff0c\u4e3b\u7ebf\u7a0b\uff0c\u9875\u9762\u4ea4\u4e92\u7b49\u6570\u636e\u3002\u6700\u4e0b\u9762\u4e00\u5757\u533a\u57df\u662f\u5404\u79cd\u603b\u7ed3\u56fe\u8868\uff0c\u53ef\u4ee5\u770b\u5230\u5728\u6211\u5207\u6362\u6570\u636e\u8868\u7684 <strong>4898ms<\/strong> \u91cc\uff0cJS \u4e00\u5171\u82b1\u8d39\u4e86 <strong>2396ms<\/strong> \u3002\uff08\u5927\u5bb6\u6709\u5174\u8da3\u7684\u8bdd\u6211\u518d\u5355\u5f00\u4e00\u7bc7\u597d\u597d\u8bb2\u8bb2 performance \u5de5\u5177\uff09<\/p>\n<p>\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u6539\u53d8 <strong>\u65f6\u95f4\u8f74\u7684\u8d77\u70b9\u548c\u7ec8\u70b9<\/strong> \u9009\u4e2d\u611f\u5174\u8da3\u7684\u4e00\u6bb5\u65f6\u95f4\u5185\u6d4f\u89c8\u5668\u7684\u6027\u80fd\u6570\u636e\uff0c\u6bd4\u5982\u6211\u9009\u4e2d\u4e86\u201c\u6570\u636e\u8868\u5185\u5bb9\u53d8\u5316\u201d\u7684\u4e00\u6bb5\u65f6\u95f4\uff0c\u91cd\u70b9\u67e5\u770b JS \u8fd0\u884c\u60c5\u51b5\uff0c <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201125_5fbe58c6f0143.jpg\" alt=\"\u9ed1\u5e15\u4e91\u524d\u7aef\u6027\u80fd\u63ed\u79d8 - React \u6027\u80fd\u8c03\u4f18 \u4e0a\u7bc7\" \/> \u6700\u4e0b\u9762\u7684\u8868\u683c\u663e\u793a\u4e86 JS \u7684\u8fd0\u884c\u60c5\u51b5\uff1a<\/p>\n<p>\u7b2c\u4e00\u5217\u662f <strong>Self Time<\/strong> \uff0c\u6307\u7684\u662f\u5b8c\u6210\u51fd\u6570\u5f53\u524d\u7684\u8c03\u7528\u6240\u9700\u7684\u65f6\u95f4\uff0c\u4ec5\u5305\u542b\u51fd\u6570\u672c\u8eab\u7684\u58f0\u660e\uff0c\u4e0d\u5305\u542b\u51fd\u6570\u8c03\u7528\u7684\u4efb\u4f55\u51fd\u6570\u3002<\/p>\n<p>\u7b2c\u4e8c\u5217\u662f <strong>Total Time<\/strong> \uff0c\u6307\u7684\u662f\u5b8c\u6210\u6b64\u51fd\u6570\u548c\u5176\u8c03\u7528\u7684\u4efb\u4f55\u51fd\u6570\u5f53\u524d\u7684\u8c03\u7528\u6240\u9700\u7684\u65f6\u95f4\u3002<\/p>\n<p>\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u4e0b\u9762\u7684 <strong>foo<\/strong> \u51fd\u6570\uff0c <strong>Total Time<\/strong> \u662f 35ms\uff0c <strong>Self Time<\/strong> \u662f 15ms \u3002<\/p>\n<pre><code>const foo = ()=&gt; {   \/\/foo \u81ea\u5df1\u7684\u903b\u8f91\uff0c\u82b1\u4e86 10ms   bar(); \/\/ \u8c03\u7528 bar \u51fd\u6570\uff0c\u82b1\u4e86 20ms   \/\/foo \u81ea\u5df1\u7684\u903b\u8f91\uff0c\u82b1\u4e86 5ms } <\/code><\/pre>\n<p>\u6309\u7167 <strong>Self Time<\/strong> \u6392\u5e8f\uff0c\u4f1a\u66f4\u5bb9\u6613\u627e\u5230\u6027\u80fd\u70ed\u70b9\u3002\u901a\u8fc7\u8868\u683c\u7684\u7b2c\u4e00\u9879\u5c31\u627e\u5230\u4e86 <strong>records.ts<\/strong> \u6587\u4ef6(\u556a\u7684\u4e00\u4e0b\uff0c\u5c31\u627e\u5230\u4e86\uff0c\u5f88\u5feb\u5440)\uff0c\u5c31\u662f <strong>Records Reducer<\/strong> \u7684\u5904\u7406\u6587\u4ef6\uff0c\u4ece\u8c03\u7528\u94fe\u770b\uff0c\u95ee\u9898\u51fa\u73b0\u5728\u8c03\u7528 <strong>lodash includes<\/strong> \u65b9\u6cd5\u4e0a\uff0c\u4e00\u5171\u82b1\u4e86 <strong>462ms<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201125_5fbe58d4a9415.jpg\" alt=\"\u9ed1\u5e15\u4e91\u524d\u7aef\u6027\u80fd\u63ed\u79d8 - React \u6027\u80fd\u8c03\u4f18 \u4e0a\u7bc7\" \/><\/p>\n<p>\u56fe 6. \u5b9a\u4f4d\u5230 records.ts \u6587\u4ef6\u7684\u6027\u80fd\u95ee\u9898\uff0c\u901a\u5e38\u65b9\u6cd5\u7684\u8c03\u7528\u6808\u6bd4\u8f83\u6df1\uff0c\u9700\u8981\u6709\u70b9\u8010\u5fc3\u627e\u627e\u6709\u6ca1\u6709\u5e94\u7528\u81ea\u5df1\u7684\u65b9\u6cd5\u6216\u8005\u6587\u4ef6\u3002<\/p>\n<p>\u597d\uff0c\u90a3\u6211\u4eec\u6253\u5f00\u4ee3\u7801\uff0c\u770b\u770b\u8c03\u7528 includes \u65b9\u6cd5\u7684\u4e0a\u4e0b\u6587\u3002\u901a\u8fc7\u5206\u6790\u53d1\u73b0\u662f\u8fd9\u4e48\u505a\u7684<\/p>\n<ol>\n<li>\u4ece redux action \u4e2d\u83b7\u53d6 records \u6570\u7ec4\uff0c\u5faa\u73af records \u6570\u7ec4<\/li>\n<li>\u8c03\u7528 updateRecord \u65b9\u6cd5\uff0c\u5c06 record \u653e\u5165 store<\/li>\n<li>\u5728 updateRecord \u65b9\u6cd5\u4e2d\uff0c\u7528 includes \u5224\u65ad record \u662f\u5426\u5df2\u7ecf\u5b58\u5728\u4e8e redux store \u4e2d\u7684 recordIdList \u4e2d<\/li>\n<li>\u5982\u679c record \u5df2\u7ecf\u5b58\u5728\uff0c\u5219\u4e0d\u4fee\u6539 recordIdList\uff0c\u5982\u679c record \u4e0d\u5b58\u5728\uff0c\u5c06\u65b0 record \u653e\u5165 recordIdList \u4e2d<\/li>\n<\/ol>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201125_5fbe58d9221e6.jpg\" alt=\"\u9ed1\u5e15\u4e91\u524d\u7aef\u6027\u80fd\u63ed\u79d8 - React \u6027\u80fd\u8c03\u4f18 \u4e0a\u7bc7\" \/><\/p>\n<p>\u4ed4\u7ec6\u5206\u6790\u4e00\u4e0b\u5c31\u4f1a\u53d1\u73b0\uff0c\u8fd9\u79cd\u505a\u6cd5\u5728\u5927\u6570\u636e\u91cf\u4e0b\u786e\u5b9e\u6709\u95ee\u9898\u3002 <strong>\u5047\u8bbe store \u4e2d\u5df2\u7ecf\u5b58\u5728 m \u6761 records\uff0c\u90a3\u4e48\u5728\u5904\u7406\u65b0\u8fd4\u56de\u7684 n \u4e2a records \u65f6\uff0cupdateRecord \u65b9\u6cd5\u5c31\u4f1a\u5728 m \u4e2a\u5143\u7d20\u7684\u6570\u7ec4\u4e0a\u6267\u884c n \u6b21 includes<\/strong> \u3002\u5047\u8bbe m \u548c n \u90fd\u662f 5000 \u7684\u8bdd\uff0c\u8ba1\u7b97\u91cf\u8fd8\u662f <strong>\u5f88\u6050\u6016\u7684\u3002<\/strong><\/p>\n<h2><strong>\u7834\u89e3\u95ee\u9898<\/strong><\/h2>\n<blockquote>\n<p><em><strong>\u63a5\uff0c\u5316\uff0c\u53d1<\/strong><\/em><\/p>\n<\/blockquote>\n<p>\u5982\u4f55\u7834\u89e3\u5462\uff1f\u7ed3\u5408\u4e1a\u52a1\u573a\u666f\u601d\u8003\u4e00\u4e0b\uff0c\u5f53\u6211\u4eec\u5207\u6362\u8868\u65f6\u540e\u7aef\u603b\u4f1a\u8fd4\u56de\u8be5\u8868\u5168\u91cf\u7684\u6570\u636e\uff0c\u6240\u4ee5\u662f\u4e0d\u9700\u8981\u7528 includes \u5224\u65ad\u201c\u662f\u5426\u5b58\u5728\u8fc7\u201d\uff0c\u6211\u4eec\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u5168\u91cf\u6570\u636e\u751f\u6210\u4e00\u4e2a\u65b0\u7684\u6570\u7ec4\uff0c\u7136\u540e\u8986\u76d6\u539f\u6765\u7684\u8001\u6570\u7ec4\uff0c\u5c31\u907f\u514d\u4e86\u91cd\u590d\u8c03\u7528 includes \u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201125_5fbe58e7c9211.jpg\" alt=\"\u9ed1\u5e15\u4e91\u524d\u7aef\u6027\u80fd\u63ed\u79d8 - React \u6027\u80fd\u8c03\u4f18 \u4e0a\u7bc7\" \/><\/p>\n<p>\u56fe 8. \u65b0\u65b9\u6848\u7684\u793a\u4f8b\u4ee3\u7801<\/p>\n<p>\u548c\u4ee3\u7801\u7684\u539f\u4f5c\u8005\u6c9f\u901a\u4e86\u4e00\u4e0b\uff0c\u53d1\u73b0\u6700\u521d updateRecord \u662f\u4e3a\u4e86\u66f4\u65b0\u67d0\u4e00\u4e2a record \u8bbe\u8ba1\u7684\uff0c\u7528\u5728\u201c\u66f4\u65b0\u5168\u8868 records \u201d\u53ea\u662f\u4e3a\u4e86\u4ee3\u7801\u590d\u7528\u800c\u5df2\uff0c\u65b0\u65b9\u6848\u660e\u663e\u66f4\u4f18\u3002<\/p>\n<p>\u4f18\u5316\u4e4b\u540e\u6548\u679c\u8fd8\u662f\u5f88\u4e0d\u9519\u7684\uff0c\u6ca1\u6709\u4e86\u201c\u5e27\u7387\u6df1\u6e0a\u201d\uff0cchrome performance \u4e2d\u4e5f\u6ca1\u6709\u660e\u663e\u7684\u6162\u65b9\u6cd5<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201125_5fbe58f8c646b.gif\" alt=\"\u9ed1\u5e15\u4e91\u524d\u7aef\u6027\u80fd\u63ed\u79d8 - React \u6027\u80fd\u8c03\u4f18 \u4e0a\u7bc7\" \/> \u56fe 9. \u4f18\u5316\u540e\u7684 FPS<\/p>\n<p>\u4e5f\u8bb8\u6709\u540c\u5b66\u4f1a\u95ee\u4e3a\u4ec0\u4e48\u5207\u6362\u6570\u636e\u8868\u65f6 api \u540e\u7aef\u6c38\u8fdc\u8fd4\u56de\u5168\u91cf\u6570\u636e\u800c\u4e0d\u662f\u589e\u91cf\u6570\u636e\uff1f\u8fd9\u662f\u4e00\u4e2a\u597d\u95ee\u9898\uff0c\u7b80\u5355\u4e00\u70b9\u56de\u7b54\uff0c\u5176\u5b9e\u9ed1\u5e15\u4e91\u5df2\u7ecf\u652f\u6301\u4e86\uff0c\u5f53\u6570\u636e\u91cf\u8d85\u8fc7\u67d0\u4e2a\u9608\u503c\u540e\uff0c\u5c31\u4f1a\u5f00\u542f\u589e\u91cf\u52a0\u8f7d\u6a21\u5f0f\uff0c\u4fdd\u8bc1\u8d85\u5927\u6570\u636e\u91cf\u4e0b\u7684\u4f7f\u7528\u4f53\u9a8c\u3002<\/p>\n<h2><strong>\u7ed3\u5c3e<\/strong><\/h2>\n<blockquote>\n<p><em>\u4e07\u4e8b\u5f00\u5934\u96be\uff0c\u7136\u540e\u4e2d\u95f4\u96be\uff0c\u6700\u540e\u7ed3\u5c3e\u96be<\/em><\/p>\n<\/blockquote>\n<p>\u4fee\u6539\u4e0a\u7ebf\u4e4b\u540e\uff0cCEO \u53cd\u9988\u201c\u5207\u6362\u6570\u636e\u8868\u987a\u6ed1\u591a\u4e86\u201d\uff0c\u603b\u7b97\u662f\u6709\u6240\u6539\u5584\uff1a\uff09<\/p>\n<p>\u56de\u987e\u4e00\u4e0b\u4e0a\u9762\u7684\u5de5\u4f5c\uff0c\u601d\u8003\u4e4b\u540e\u503c\u5f97\u5206\u4eab\u7684\u662f\uff1a<\/p>\n<ul>\n<li><strong>\u5728\u89e3\u51b3\u6027\u80fd\u95ee\u9898\u65f6\uff0c\u5b9a\u4f4d\u95ee\u9898\u6c38\u8fdc\u662f\u6700\u56f0\u96be\u7684\uff0c\u6240\u4ee5\u8981\u8ba4\u771f\u7422\u78e8\u5982\u4f55\u5ea6\u91cf\u73b0\u72b6\uff0c\u5982\u4f55\u7cbe\u51c6\u7684\u5b9a\u4f4d\u95ee\u9898\uff0c\u8fd9\u5f88\u91cd\u8981<\/strong><\/li>\n<li><strong>\u5199\u4ee3\u7801\u65f6\uff0c\u8981\u8d34\u5408\u4e1a\u52a1\u573a\u666f\uff0c\u4e0d\u8981\u4e00\u5473\u7684\u8ffd\u6c42\u4ee3\u7801\u590d\u7528<\/strong><\/li>\n<li><strong>\u4e3a\u4e86\u6027\u80fd\u8981\u6c42\uff0c\u53ef\u4ee5\u91cd\u5199\u67d0\u6bb5\u903b\u8f91\uff0c\u751a\u81f3\u4f7f\u7528\u4e00\u4e9b\u201c\u9ed1\u9b54\u6cd5\u201d\uff0c\u53ea\u8981\u52a0\u4e0a\u6ce8\u91ca\u5c31\u597d<\/strong><\/li>\n<li><strong>\u672c\u5730\u5f00\u53d1\u65f6\uff0c\u4f9d\u7136\u8981\u5c3d\u53ef\u80fd\u8d34\u8fd1\u771f\u5b9e\u73af\u5883\uff0c\u5305\u62ec\u6570\u636e\u91cf\uff0c\u6570\u636e\u5185\u5bb9\u7684\u771f\u5b9e\u6027\u7b49\uff0c\u8fd9\u6837\u4f1a\u5c3d\u65e9\u66b4\u9732\u95ee\u9898<\/strong><\/li>\n<\/ul>\n<p>\u597d\uff0c\u8fd9\u4e00\u7bc7\u5c31\u5199\u5230\u8fd9\u91cc\uff0c\u7b97\u662f\u4e00\u4e2a\u5f00\u80c3\u83dc\u3002\u4e0b\u4e00\u7bc7\u6211\u4f1a\u7ee7\u7eed\u5206\u4eab\u66f4\u591a\u5e72\u8d27\uff0c\u5305\u62ec <strong>react profiling<\/strong> \u5de5\u5177\u7684\u4f7f\u7528\uff0c <strong>redux store \u8bbe\u8ba1<\/strong> \uff0c <strong>\u51cf\u5c11 React \u7ec4\u4ef6\u91cd\u590d\u5237\u65b0<\/strong> \u7b49\u6700\u4f73\u5b9e\u8df5\uff0c\u656c\u8bf7\u671f\u5f85\u3002<\/p>\n<h2><strong>\u6700\u540e\u7684\u6700\u540e\uff0c\u6211\u4eec\u6b63\u5728\u62db\u8058<\/strong><\/h2>\n<blockquote>\n<p><em><strong>\u5de5\u4f5c\u5730\u70b9: \u6210\u90fd \/\u897f\u5b89<\/strong><\/em><\/p>\n<\/blockquote>\n<ul>\n<li>#\u9ed1\u5e15\u4e91\u7684\u6700\u65b0\u804c\u4f4d\u6765\u4e86#<\/li>\n<li>\u524d\u7aef\u6280\u672f\uff1aReact + Redux<\/li>\n<li>\u540e\u7aef\u6280\u672f\uff1aJava + Python<\/li>\n<li>UI \u8bbe\u8ba1\u5e08\uff0cUX \u8bbe\u8ba1\u5e08<\/li>\n<li>\u79fb\u52a8 Web \u53ca\u5ba2\u6237\u7aef\uff1aReact Native + ReactXP<\/li>\n<\/ul>\n<p>\u6211\u4eec\u63d0\u4f9b\u4ec0\u4e48\uff1f<\/p>\n<ol>\n<li>\u8f7b\u677e\u6109\u5feb\u7684\u4e92\u8054\u7f51\u5de5\u4f5c\u6c1b\u56f4\uff0c\u5982\u65e0\u8bdd\u4e0d\u8c08\u3001\u4ea6\u5e08\u4ea6\u53cb\u7684\u5de5\u4f5c\u4f19\u4f34\uff1b<\/li>\n<li>\u4e30\u5bcc\u591a\u5f69\u7684\u5458\u5de5\u6d3b\u52a8\uff0c\u5982 Gym Time \u3001\u5206\u4eab\u4f1a\u3001\u90ca\u6e38\u3001\u6237\u5916\u62d3\u5c55\u3001\u8de8\u57ce\u5e02\u56e2\u5efa\u3001\u4f01\u4e1a\u5468\u5e74\u5e86\u7b49\uff1b<\/li>\n<li>\u4e1a\u52a1\u4e4b\u5916\u7684\u5176\u4ed6\u6210\u957f\u6295\u5165\uff0c\u5982\u4e13\u4e1a\u6280\u5de7\u57f9\u8bad\u3001\u804c\u4e1a\u7d20\u517b\u57f9\u8bad\u3001\u7ba1\u7406\u80fd\u529b\u57f9\u8bad\u7b49\uff1b<\/li>\n<li>\u9876\u914d MacBook Pro + 4K \u663e\u793a\u5668\uff0c\u8d2d\u4e70\u5de5\u4f5c\u5fc5\u8981\u7684\u6b63\u7248\u8f6f\u4ef6\uff1b<\/li>\n<li>\u4f5c\u4e3a\u65e9\u671f\u521b\u59cb\u5458\u5de5\uff0c\u4f60\u6709\u673a\u4f1a\u83b7\u5f97\u671f\u6743\uff0c\u5171\u540c\u5206\u4eab\u521b\u4e1a\u7684\u6210\u957f\uff1b<\/li>\n<li>\u5176\u4ed6\u798f\u5229\uff1a\u5168\u989d\u4e94\u9669\u4e00\u91d1\u3001\u5e74\u7ec8\u5956\u3001\u8282\u65e5\u8865\u8d34\u3001\u53cc\u4f11\u3001\u6cd5\u5b9a\u5047\u671f \/\u5e26\u85aa\u5e74\u5047\u3001\u56e2\u5efa\u6d3b\u52a8\u3001\u5458\u5de5\u65c5\u6e38\u3001\u4e0d\u5b9a\u671f\u798f\u5229\u5927\u653e\u9001\u3002<\/li>\n<\/ol>\n<p>\u611f\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u4eec\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u6295\u9012\u7b80\u5386\uff1b<\/p>\n<p>\u5c06\u7b80\u5386\u53d1\u9001\u81f3\uff1a [email&#160;protected]<\/p>\n<p><strong>\u5728\u7ebf\u7b80\u5386\u6295\u9012\uff1ahttps:\/\/lyv12j.hpapps.cn\/forms\/ln2je3<\/strong><\/p>\n<p>\u611f\u8c22\u5927\u5bb6\u7684\u9605\u8bfb\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>5<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4220978\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ddou <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u9519\u5466\uff0c\u5b66\u4e60\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4220979\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : HIPA <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u662f\u9ed1\u5e15\u4e91\u7684\u5b98\u65b9\u8d26\u6237\uff0c\u53d1\u5e16\u65f6\u78b0\u5230\u4e86\u4ee5\u4e0b\u9762\u7684\u63d0\u793a<br \/>&#8220;&#8221;&#8221;<br \/>\u4fdd\u5b58\u65b0\u4e3b\u9898\u8fc7\u7a0b\u4e2d\u9047\u5230\u4e00\u4e9b\u95ee\u9898\uff1a<br \/>\u53d1\u5e03\u8fd9\u4e2a\u5185\u5bb9\u9700\u8981\u4f60\u5df2\u7ecf\u6ce8\u518c\u6ee1 30 \u5929<br \/>\u53d1\u5e03\u8fd9\u4e2a\u5185\u5bb9\u9700\u8981\u4f60\u5df2\u7ecf\u6ce8\u518c\u6ee1 14 \u5929<br \/>&#8220;&#8221;&#8221;<br \/>\u95ee\u9898\u662f\u6211\u4e5f\u4e0d\u77e5\u9053\u5e16\u5b50\u4e2d\u7684\u4ec0\u4e48\u5185\u5bb9\u5bfc\u81f4\u7684\u95ee\u9898\uff0c\u6539\u90fd\u6ca1\u529e\u6cd5\u6539\uff0c\u53ea\u80fd\u8bf7\u670b\u53cb\u5e2e\u5fd9\u53d1\u4e86\u3002<br \/>\u80fd\u5426\u505a\u66f4\u591a\u7684\u63d0\u793a\uff0c\u6bd4\u5982\u56fe\u7247\u592a\u591a\uff0c\u5185\u5bb9\u592a\u957f\u4e4b\u7c7b\u7684\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4220980\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : method <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u633a\u597d\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4220981\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : newdongyuwei <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u786c\u6838\u62db\u8058\u8d34\uff0c\u5e2e\u9876\u3002\u6280\u672f\u56e2\u961f\u5f88\u8d5e\uff01                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4220982\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : YoyoMa <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @newdongyuwei \u554a\u54c8\u54c8\u54c8\uff0c\u8c22\u8c22\u8463\u795e\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u9ed1\u5e15\u4e91\u524d\u7aef\u6027\u80fd\u63ed\u79d8 &#8211;&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\/201603"}],"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=201603"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/201603\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=201603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=201603"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=201603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}