{"id":232,"date":"2026-09-06T00:43:00","date_gmt":"2026-09-05T16:43:00","guid":{"rendered":"https:\/\/www.ziliaochi.cn\/index.php\/2026\/09\/06\/interview-framework-principles\/"},"modified":"2026-09-06T00:43:00","modified_gmt":"2026-09-05T16:43:00","slug":"interview-framework-principles","status":"publish","type":"post","link":"https:\/\/www.ziliaochi.cn\/index.php\/2026\/09\/06\/interview-framework-principles\/","title":{"rendered":"\u524d\u7aef\u6846\u67b6\u539f\u7406\u9762\u8bd5 30 \u95ee\uff1a\u865a\u62df DOM\u3001Diff\u3001\u54cd\u5e94\u5f0f\u4e0e\u8c03\u5ea6\u5668"},"content":{"rendered":"<div style=\"font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"PingFang SC\",\"Hiragino Sans GB\",\"Microsoft YaHei\",sans-serif;font-size:16.5px;line-height:1.9;color:#35435c;letter-spacing:.2px\">\n<div style=\"background:linear-gradient(135deg,#f5f9ff,#eef5ff);border:1px solid #dce8f8;border-left:4px solid #3ecf8e;border-radius:12px;padding:16px 20px;margin:0 0 24px;font-size:14.5px;color:#3d5570;line-height:2\"><span style=\"display:inline-block;background:#3ecf8e;color:#fff;font-size:12.5px;font-weight:700;padding:3px 10px;border-radius:6px;margin-right:12px;letter-spacing:1px;vertical-align:1px\">\u5173\u952e\u8bcd<\/span>\u524d\u7aef\u9762\u8bd5\u9898\u3001\u865a\u62df DOM\u3001Diff \u7b97\u6cd5\u3001Fiber\u3001\u54cd\u5e94\u5f0f\u539f\u7406\u3001React Compiler<\/div>\n<div style=\"background:#fafbfd;border:1px solid #e8edf5;border-radius:12px;padding:18px 22px;margin:0 0 30px\">\n<div style=\"font-size:13.5px;font-weight:700;color:#8a99ae;letter-spacing:2px;margin-bottom:12px\">\u76ee\u5f55<\/div>\n<ol style=\"margin:0;padding-left:20px\">\n<li style=\"margin:8px 0;font-size:15px;line-height:1.6\"><a href=\"#sec-1\" style=\"color:#42546e;text-decoration:none;border:none\">\u4e00\u3001\u865a\u62df DOM\uff1a\u5148\u628a\u5b83\u8bf7\u4e0b\u795e\u575b<\/a><\/li>\n<li style=\"margin:8px 0;font-size:15px;line-height:1.6\"><a href=\"#sec-2\" style=\"color:#42546e;text-decoration:none;border:none\">\u4e8c\u3001Diff \u7b97\u6cd5\uff1a\u4ece O(n\u00b3) \u5230 O(n) \u7684\u90a3\u4e00\u6b65<\/a><\/li>\n<li style=\"margin:8px 0;font-size:15px;line-height:1.6\"><a href=\"#sec-3\" style=\"color:#42546e;text-decoration:none;border:none\">\u4e09\u3001\u54cd\u5e94\u5f0f\uff1a\u4e24\u5927\u9635\u8425\u7684\u6839\u672c\u5206\u6b67<\/a><\/li>\n<li style=\"margin:8px 0;font-size:15px;line-height:1.6\"><a href=\"#sec-4\" style=\"color:#42546e;text-decoration:none;border:none\">\u56db\u3001\u8c03\u5ea6\u4e0e\u65f6\u95f4\u5207\u7247<\/a><\/li>\n<li style=\"margin:8px 0;font-size:15px;line-height:1.6\"><a href=\"#sec-5\" style=\"color:#42546e;text-decoration:none;border:none\">\u4e94\u30012026 \u5e74\u7684\u65b0\u8003\u70b9\uff1a\u7f16\u8bd1\u671f\u4f18\u5316<\/a><\/li>\n<li style=\"margin:8px 0;font-size:15px;line-height:1.6\"><a href=\"#sec-6\" style=\"color:#42546e;text-decoration:none;border:none\">\u516d\u3001\u600e\u4e48\u628a\u8fd9\u4e00\u5757\u7b54\u51fa\u5f69<\/a><\/li>\n<li style=\"margin:8px 0;font-size:15px;line-height:1.6\"><a href=\"#sec-7\" style=\"color:#42546e;text-decoration:none;border:none\">\u4e03\u3001\u5c0f\u7ed3<\/a><\/li>\n<\/ol>\n<\/div>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><span style=\"font-size:17px;color:#1e2f47\">\u6846\u67b6\u539f\u7406\u662f\u524d\u7aef\u9762\u8bd5\u91cc\u6700\u80fd\u62c9\u5f00\u5dee\u8ddd\u7684\u4e00\u5757\u3002\u80cc API \u8c01\u90fd\u4f1a\uff0c\u4f46&#8221;\u4e3a\u4ec0\u4e48 React \u8981\u5f15\u5165 Fiber&#8221;\u3001&#8221;Vue \u7684\u54cd\u5e94\u5f0f\u4e3a\u4ec0\u4e48\u8981\u7528 WeakMap&#8221;\u3001&#8221;\u865a\u62df DOM \u4e00\u5b9a\u66f4\u5feb\u5417&#8221;\u8fd9\u7c7b\u95ee\u9898\uff0c\u8003\u5bdf\u7684\u662f<strong style=\"color:#0f1c2e;font-weight:600\">\u4f60\u80fd\u4e0d\u80fd\u4ece\u8bbe\u8ba1\u7ea6\u675f\u53cd\u63a8\u51fa\u6280\u672f\u9009\u578b<\/strong>\u3002<\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u672c\u6587\u6309<strong style=\"color:#0f1c2e;font-weight:600\">\u865a\u62df DOM \u2192 Diff \u2192 \u54cd\u5e94\u5f0f \u2192 \u8c03\u5ea6 \u2192 \u7f16\u8bd1\u671f\u4f18\u5316<\/strong>\u4e94\u5c42\u7ec4\u7ec7\uff0c\u6bcf\u5c42\u7ed9\u51fa\u9ad8\u9891\u95ee\u9898\u3001\u6807\u51c6\u7b54\u6848\u8981\u70b9\uff0c\u4ee5\u53ca\u9762\u8bd5\u5b98\u771f\u6b63\u60f3\u542c\u5230\u7684\u90a3\u53e5\u8bdd\u3002\u7248\u672c\u5750\u6807\u622a\u81f3 2026 \u5e74 9 \u6708\uff1aReact 19.2.8\u3001Vue 3.5.42\uff083.6.0-rc.7 \u5728 RC\uff09\u3001Svelte 5.57.0\u3001Solid 1.9.15\u3002<\/p>\n<figure style=\"margin:30px 0;text-align:center\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"900\" src=\"https:\/\/www.ziliaochi.cn\/wp-content\/uploads\/2026\/09\/interview-framework-principles-fig.png\" alt=\"\u6846\u67b6\u539f\u7406\u7684\u4e94\u5c42\u7ed3\u6784\" class=\"wp-image-231\" style=\"max-width:100%;height:auto;border-radius:12px;border:1px solid #e6ecf4;box-shadow:0 8px 24px rgba(15,30,60,.07)\" srcset=\"https:\/\/www.ziliaochi.cn\/wp-content\/uploads\/2026\/09\/interview-framework-principles-fig.png 1200w, https:\/\/www.ziliaochi.cn\/wp-content\/uploads\/2026\/09\/interview-framework-principles-fig-300x225.png 300w, https:\/\/www.ziliaochi.cn\/wp-content\/uploads\/2026\/09\/interview-framework-principles-fig-1024x768.png 1024w, https:\/\/www.ziliaochi.cn\/wp-content\/uploads\/2026\/09\/interview-framework-principles-fig-768x576.png 768w, https:\/\/www.ziliaochi.cn\/wp-content\/uploads\/2026\/09\/interview-framework-principles-fig-800x600.png 800w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption style=\"margin-top:12px;font-size:13.5px;color:#7b8aa0;text-align:center;line-height:1.75\">\u6846\u67b6\u539f\u7406\u4e94\u5c42\uff1a\u865a\u62df DOM \u2192 Diff \u2192 Fiber \u2192 \u54cd\u5e94\u5f0f \u2192 \u7f16\u8bd1\u671f\u4f18\u5316<\/figcaption><\/figure>\n<h2 style=\"font-size:23px;line-height:1.45;font-weight:700;color:#0f1c2e;margin:46px 0 18px;padding:0 0 12px 14px;border-left:5px solid #3ecf8e;border-bottom:1px solid #eef2f7;letter-spacing:.3px\" id=\"sec-1\">\u4e00\u3001\u865a\u62df DOM\uff1a\u5148\u628a\u5b83\u8bf7\u4e0b\u795e\u575b<\/h2>\n<h3 style=\"font-size:18.5px;line-height:1.55;font-weight:700;color:#18283e;margin:30px 0 12px;padding-left:12px;border-left:3px solid #3ecf8e40\">Q1\uff1a\u865a\u62df DOM \u4e00\u5b9a\u6bd4\u76f4\u63a5\u64cd\u4f5c DOM \u5feb\u5417\uff1f<\/h3>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">\u4e0d\u4e00\u5b9a\uff0c\u800c\u4e14\u8fd9\u4e2a\u8bf4\u6cd5\u672c\u8eab\u5c31\u662f\u9519\u7684\u3002<\/strong>\u865a\u62df DOM \u7684\u4ef7\u503c\u4e0d\u662f&#8221;\u66f4\u5feb&#8221;\uff0c\u800c\u662f<strong style=\"color:#0f1c2e;font-weight:600\">\u628a&#8221;\u4ec0\u4e48\u53d8\u4e86&#8221;\u8fd9\u4ef6\u4e8b\u4ece\u4eba\u8111\u8f6c\u79fb\u5230\u8fd0\u884c\u65f6<\/strong>\uff0c\u4ece\u800c\u8ba9\u4f60\u80fd\u7528\u58f0\u660e\u5f0f\u7684\u65b9\u5f0f\u5199 UI\uff0c\u540c\u65f6\u4fdd\u8bc1\u4e00\u4e2a\u53ef\u63a5\u53d7\u7684\u6027\u80fd\u4e0b\u9650\u3002<\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u7cbe\u786e\u7684\u5bf9\u6bd4\u5e94\u8be5\u662f\uff1a<\/p>\n<ul style=\"padding-left:26px;margin:16px 0\">\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">\u9996\u6b21\u6e32\u67d3<\/strong>\uff1a\u865a\u62df DOM \u4e00\u5b9a\u66f4\u6162\u2014\u2014\u5b83\u591a\u4e86\u4e00\u6b65\u6784\u5efa VNode \u6811\u548c render \u7684\u5f00\u9500\u3002<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">\u5c0f\u8303\u56f4\u7cbe\u51c6\u66f4\u65b0<\/strong>\uff1a\u624b\u5199 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">el.textContent = x<\/code> \u4e00\u5b9a\u66f4\u5feb\uff0c\u6ca1\u6709 diff \u6210\u672c\u3002<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">\u590d\u6742\u89c6\u56fe\u7684\u4e2d\u5927\u8303\u56f4\u66f4\u65b0<\/strong>\uff1a\u865a\u62df DOM \u901a\u5e38\u66f4\u5feb\uff0c\u56e0\u4e3a\u5b83\u80fd\u6279\u91cf\u8ba1\u7b97\u51fa\u6700\u5c0f\u53d8\u66f4\u96c6\uff0c\u907f\u514d\u5927\u91cf\u65e0\u8c13\u7684\u8bfb\u5199\u4ea4\u9519\u5bfc\u81f4\u7684\u91cd\u6392\u3002<\/li>\n<\/ul>\n<blockquote style=\"margin:24px 0;padding:16px 22px;background:#f7fafd;border-left:4px solid #3ecf8e;border-radius:0 10px 10px 0;color:#4a5b73;font-size:15.6px;line-height:1.88\">\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u9762\u8bd5\u9ad8\u5206\u7b54\u6cd5\uff1a\u628a&#8221;\u5feb\u4e0d\u5feb&#8221;\u6539\u6210&#8221;<strong style=\"color:#0f1c2e;font-weight:600\">\u5728\u4ec0\u4e48\u7ea6\u675f\u4e0b\u6362\u53d6\u4e86\u4ec0\u4e48<\/strong>&#8220;\u2014\u2014\u727a\u7272\u9996\u6b21\u6e32\u67d3\u6027\u80fd\u548c\u4e00\u70b9\u5185\u5b58\uff0c\u6362\u53d6\u58f0\u660e\u5f0f\u5199\u6cd5 + \u53ef\u9884\u6d4b\u7684\u6027\u80fd\u4e0b\u9650 + \u8de8\u5e73\u53f0\u6e32\u67d3\u80fd\u529b\uff08\u540c\u4e00\u68f5 VNode \u6811\u53ef\u4ee5\u6e32\u67d3\u5230 DOM\u3001Canvas\u3001Native\uff09\u3002<\/p>\n<\/blockquote>\n<h3 style=\"font-size:18.5px;line-height:1.55;font-weight:700;color:#18283e;margin:30px 0 12px;padding-left:12px;border-left:3px solid #3ecf8e40\">Q2\uff1a\u4e3a\u4ec0\u4e48\u9700\u8981 key\uff1f\u7528 index \u5f53 key \u4f1a\u51fa\u4ec0\u4e48\u95ee\u9898\uff1f<\/h3>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">key<\/code> \u662f diff \u7b97\u6cd5\u7528\u6765\u5224\u65ad&#8221;\u65b0\u65e7\u4e24\u4e2a\u8282\u70b9\u662f\u4e0d\u662f\u540c\u4e00\u4e2a\u4e1c\u897f&#8221;\u7684\u8eab\u4efd\u8bc1\u3002\u6ca1\u6709 key \u65f6\uff0c\u6846\u67b6\u53ea\u80fd\u6309\u4f4d\u7f6e\u4e00\u4e00\u5bf9\u5e94\uff08\u5c31\u5730\u590d\u7528\uff09\uff0c\u8fd9\u5728\u67d0\u4e9b\u573a\u666f\u4e0b\u4f1a<strong style=\"color:#0f1c2e;font-weight:600\">\u9519\u8bef\u5730\u590d\u7528\u4e86\u5e26\u6709\u5185\u90e8\u72b6\u6001\u7684\u8282\u70b9<\/strong>\u3002<\/p>\n<pre style=\"background:#0f1a2b;color:#dbe6f5;border-radius:12px;padding:18px 20px;overflow-x:auto;font-size:13.6px;line-height:1.78;margin:22px 0;border:1px solid #1e2c42;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace\"><code style=\"background:none;border:none;color:inherit;padding:0;font-size:inherit;font-family:inherit\">\/\/ \u53cd\u4f8b\uff1a\u7528 index \u5f53 key\n\/\/ \u5217\u8868 [A, B, C]\uff0c\u5220\u9664 A \u540e\u53d8\u6210 [B, C]\n\/\/ index \u590d\u7528\u540e\uff1a\u539f\u4f4d\u7f6e0 \u7684 A \u8282\u70b9\u88ab\u590d\u7528\u6210 B\uff0c\u7ec4\u4ef6\u5185\u90e8 state \u9519\u4f4d\n{list.map((item, i) =&gt; &lt;Row key={i} data={item} \/&gt;)}\n\n\/\/ \u6b63\u4f8b\uff1a\u7528\u7a33\u5b9a\u4e1a\u52a1 ID\n{list.map(item =&gt; &lt;Row key={item.id} data={item} \/&gt;)}<\/code><\/pre>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u5178\u578b\u7ffb\u8f66\u573a\u666f\uff1a<strong style=\"color:#0f1c2e;font-weight:600\">\u5217\u8868\u9879\u91cc\u6709\u8f93\u5165\u6846\u3001\u52fe\u9009\u72b6\u6001\u3001\u52a8\u753b\u72b6\u6001<\/strong>\u3002\u5220\u9664\u7b2c\u4e00\u9879\u540e\uff0c\u7b2c\u4e8c\u9879\u7684\u8f93\u5165\u6846\u5185\u5bb9\u4f1a&#8221;\u8dd1&#8221;\u5230\u7b2c\u4e00\u9879\u4e0a\u3002\u5982\u679c\u5217\u8868\u53ea\u662f\u7eaf\u5c55\u793a\u3001\u65e0\u5185\u90e8\u72b6\u6001\u3001\u65e0\u987a\u5e8f\u53d8\u66f4\uff0c\u7528 index \u4e0d\u4f1a\u51fa\u95ee\u9898\u2014\u2014\u4f46\u8fd9\u662f\u4e2a\u4e0d\u8be5\u8d4c\u7684\u5047\u8bbe\u3002<\/p>\n<h2 style=\"font-size:23px;line-height:1.45;font-weight:700;color:#0f1c2e;margin:46px 0 18px;padding:0 0 12px 14px;border-left:5px solid #3ecf8e;border-bottom:1px solid #eef2f7;letter-spacing:.3px\" id=\"sec-2\">\u4e8c\u3001Diff \u7b97\u6cd5\uff1a\u4ece O(n\u00b3) \u5230 O(n) \u7684\u90a3\u4e00\u6b65<\/h2>\n<h3 style=\"font-size:18.5px;line-height:1.55;font-weight:700;color:#18283e;margin:30px 0 12px;padding-left:12px;border-left:3px solid #3ecf8e40\">Q3\uff1a\u4e3a\u4ec0\u4e48\u6811\u7684\u6700\u5c0f\u7f16\u8f91\u8ddd\u79bb\u662f O(n\u00b3)\uff0c\u800c\u6846\u67b6\u80fd\u505a\u5230 O(n)\uff1f<\/h3>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u56e0\u4e3a\u6846\u67b6<strong style=\"color:#0f1c2e;font-weight:600\">\u653e\u5f03\u4e86&#8221;\u6700\u4f18\u89e3&#8221;\uff0c\u53ea\u6c42&#8221;\u5728\u771f\u5b9e\u573a\u666f\u4e0b\u8db3\u591f\u597d\u7684\u89e3&#8221;<\/strong>\u3002\u5b83\u5f15\u5165\u4e86\u4e09\u4e2a\u542f\u53d1\u5f0f\u7ea6\u675f\uff1a<\/p>\n<ol style=\"padding-left:26px;margin:16px 0\">\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">\u53ea\u505a\u540c\u5c42\u6bd4\u8f83<\/strong>\uff0c\u4e0d\u505a\u8de8\u5c42\u7ea7\u7684\u8282\u70b9\u79fb\u52a8\u3002\u4e00\u65e6\u53d1\u73b0\u8282\u70b9\u8dd1\u5230\u4e86\u522b\u7684\u5c42\u7ea7\uff0c\u76f4\u63a5\u5220\u6389\u91cd\u5efa\u3002<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">\u540c\u5c42\u6bd4\u8f83\u65f6\u6309 key \u5339\u914d<\/strong>\uff0c\u901a\u8fc7\u54c8\u5e0c\u8868\u628a&#8221;\u627e\u5bf9\u5e94\u8282\u70b9&#8221;\u4ece O(n\u00b2) \u964d\u5230 O(n)\u3002<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">\u7c7b\u578b\u4e0d\u540c\u76f4\u63a5\u6574\u68f5\u66ff\u6362<\/strong>\uff0c\u4e0d\u518d\u5f80\u4e0b\u6bd4\u3002<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">&lt;div&gt;<\/code> \u53d8\u6210 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">&lt;span&gt;<\/code>\uff0c\u6574\u68f5\u5b50\u6811\u91cd\u5efa\u3002<\/li>\n<\/ol>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u8fd9\u4e09\u6761\u628a\u95ee\u9898\u4ece&#8221;\u901a\u7528\u6811\u7f16\u8f91\u8ddd\u79bb&#8221;\u964d\u5230\u4e86&#8221;\u540c\u5c42\u5e8f\u5217\u7684\u5339\u914d&#8221;\uff0c\u590d\u6742\u5ea6\u968f\u4e4b\u964d\u4e3a\u7ebf\u6027\u3002<\/p>\n<h3 style=\"font-size:18.5px;line-height:1.55;font-weight:700;color:#18283e;margin:30px 0 12px;padding-left:12px;border-left:3px solid #3ecf8e40\">Q4\uff1aReact \u7684 Fiber \u5230\u5e95\u89e3\u51b3\u4e86\u4ec0\u4e48\u95ee\u9898\uff1f<\/h3>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u5728 Fiber \u4e4b\u524d\uff08React 15 \u7684 Stack Reconciler\uff09\uff0c\u9012\u5f52\u904d\u5386\u7ec4\u4ef6\u6811\u662f<strong style=\"color:#0f1c2e;font-weight:600\">\u4e0d\u53ef\u4e2d\u65ad<\/strong>\u7684\u2014\u2014\u4e00\u6b21\u66f4\u65b0\u4ece\u6839\u4e00\u8def\u9012\u5f52\u5230\u53f6\u5b50\uff0c\u4e2d\u95f4\u4e0d\u80fd\u505c\u3002\u7ec4\u4ef6\u6811\u6df1\u4e86\uff08\u6bd4\u5982\u51e0\u5343\u4e2a\u8282\u70b9\uff09\uff0c\u8fd9\u4e00\u6b21\u9012\u5f52\u53ef\u80fd\u5360\u4f4f\u4e3b\u7ebf\u7a0b\u51e0\u5341\u5230\u51e0\u767e\u6beb\u79d2\uff0c\u671f\u95f4\u7528\u6237\u8f93\u5165\u3001\u52a8\u753b\u5168\u90e8\u5361\u4f4f\u3002<\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">Fiber \u7684\u6838\u5fc3\u6539\u52a8\u662f<strong style=\"color:#0f1c2e;font-weight:600\">\u628a\u9012\u5f52\u6539\u5199\u6210\u94fe\u8868\u4e0a\u7684\u5faa\u73af<\/strong>\uff1a<\/p>\n<pre style=\"background:#0f1a2b;color:#dbe6f5;border-radius:12px;padding:18px 20px;overflow-x:auto;font-size:13.6px;line-height:1.78;margin:22px 0;border:1px solid #1e2c42;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace\"><code style=\"background:none;border:none;color:inherit;padding:0;font-size:inherit;font-family:inherit\">\/\/ Fiber \u8282\u70b9\u4e4b\u95f4\u7528\u4e09\u4e2a\u6307\u9488\u8fde\u8d77\u6765\uff0c\u5f62\u6210\u53ef\u904d\u5386\u3001\u53ef\u4e2d\u65ad\u7684\u94fe\u8868\nfiberNode.child     \/\/ \u7b2c\u4e00\u4e2a\u5b50\u8282\u70b9\nfiberNode.sibling   \/\/ \u4e0b\u4e00\u4e2a\u5144\u5f1f\u8282\u70b9\nfiberNode.return    \/\/ \u7236\u8282\u70b9\n\n\/\/ \u4e8e\u662f workLoop \u53ef\u4ee5\u968f\u65f6\u505c\u4e0b\u6765\nfunction workLoop(deadline) {\n  while (nextUnitOfWork &amp;&amp; deadline.timeRemaining() &gt; 1) {\n    nextUnitOfWork = performUnitOfWork(nextUnitOfWork)\n  }\n  \/\/ \u65f6\u95f4\u7247\u7528\u5b8c\u4e86\uff0c\u628a\u63a7\u5236\u6743\u8fd8\u7ed9\u6d4f\u89c8\u5668\uff0c\u4e0b\u4e00\u5e27\u7ee7\u7eed\n  requestIdleCallback(workLoop)\n}<\/code><\/pre>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u8fd9\u91cc\u8981\u533a\u5206\u4e24\u4e2a\u6982\u5ff5\uff0c\u5f88\u591a\u4eba\u7b54\u6df7\uff1a<\/p>\n<ul style=\"padding-left:26px;margin:16px 0\">\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Fiber \u67b6\u6784<\/strong>\uff1a\u6570\u636e\u7ed3\u6784 + \u53ef\u4e2d\u65ad\u7684\u904d\u5386\u673a\u5236\uff08React 16 \u5f15\u5165\uff09\u3002<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Concurrent \u5e76\u53d1\u7279\u6027<\/strong>\uff1a\u57fa\u4e8e Fiber \u7684\u53ef\u4e2d\u65ad\u80fd\u529b\uff0c\u5b9e\u73b0\u7684<strong style=\"color:#0f1c2e;font-weight:600\">\u4f18\u5148\u7ea7\u8c03\u5ea6<\/strong>\uff08React 18 \u5f15\u5165\uff09\u3002<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">useTransition<\/code>\u3001<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">Suspense<\/code>\u3001\u81ea\u52a8\u6279\u5904\u7406\u90fd\u5efa\u7acb\u5728\u8fd9\u4e0a\u9762\u3002<\/li>\n<\/ul>\n<h3 style=\"font-size:18.5px;line-height:1.55;font-weight:700;color:#18283e;margin:30px 0 12px;padding-left:12px;border-left:3px solid #3ecf8e40\">Q5\uff1a<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">useTransition<\/code> \u548c\u9632\u6296\u8282\u6d41\u6709\u4ec0\u4e48\u533a\u522b\uff1f<\/h3>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u8fd9\u662f 2026 \u5e74\u5f88\u5e38\u89c1\u7684\u8ffd\u95ee\uff0c\u4e24\u8005\u89e3\u51b3\u7684\u5176\u5b9e\u662f<strong style=\"color:#0f1c2e;font-weight:600\">\u4e0d\u540c\u5c42\u9762\u7684\u95ee\u9898<\/strong>\uff1a<\/p>\n<table style=\"width:100%;border-collapse:collapse;margin:24px 0;font-size:15px;border:1px solid #e3eaf3;border-radius:10px;overflow:hidden\">\n<thead>\n<tr>\n<th style=\"background:#f2f6fb;color:#12233a;font-weight:700;padding:12px 14px;text-align:left;border-bottom:1px solid #e3eaf3;font-size:15px\">\u7ef4\u5ea6<\/th>\n<th style=\"background:#f2f6fb;color:#12233a;font-weight:700;padding:12px 14px;text-align:left;border-bottom:1px solid #e3eaf3;font-size:15px\">\u9632\u6296 \/ \u8282\u6d41<\/th>\n<th style=\"background:#f2f6fb;color:#12233a;font-weight:700;padding:12px 14px;text-align:left;border-bottom:1px solid #e3eaf3;font-size:15px\">useTransition<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u4f5c\u7528\u5c42\u9762<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u51cf\u5c11<strong style=\"color:#0f1c2e;font-weight:600\">\u89e6\u53d1\u6b21\u6570<\/strong><\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u964d\u4f4e<strong style=\"color:#0f1c2e;font-weight:600\">\u5355\u6b21\u6e32\u67d3\u7684\u4f18\u5148\u7ea7<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u5b9e\u73b0\u673a\u5236<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u5b9a\u65f6\u5668\u5ef6\u540e\u6267\u884c<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u628a\u66f4\u65b0\u6807\u8bb0\u4e3a\u4f4e\u4f18\u5148\u7ea7\uff0c\u53ef\u88ab\u9ad8\u4f18\u5148\u7ea7\u6253\u65ad<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u80fd\u5426\u4e2d\u65ad<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u4e0d\u80fd\uff0c\u4e00\u65e6\u6267\u884c\u5c31\u8d70\u5b8c<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u80fd\uff0c\u7528\u6237\u8f93\u5165\u53ef\u6253\u65ad\u8fdb\u884c\u4e2d\u7684\u4f4e\u4f18\u5148\u7ea7\u6e32\u67d3<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u5178\u578b\u573a\u666f<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u641c\u7d22\u6846\u8bf7\u6c42\u3001resize<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u5927\u5217\u8868\u7b5b\u9009\u3001\u8def\u7531\u5207\u6362\u7684 loading \u6001<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u5173\u952e\u5224\u65ad\u53e5\uff1a<strong style=\"color:#0f1c2e;font-weight:600\">\u9632\u6296\u662f&#8221;\u5c11\u505a\u51e0\u6b21&#8221;\uff0cuseTransition \u662f&#8221;\u505a\u662f\u53ef\u4ee5\u505a\uff0c\u4f46\u522b\u6321\u7740\u7528\u6237&#8221;<\/strong>\u3002\u524d\u8005\u51cf\u5c11\u4e86\u5de5\u4f5c\u91cf\uff0c\u540e\u8005\u6539\u53d8\u4e86\u5de5\u4f5c\u5b89\u6392\u7684\u987a\u5e8f\u3002<\/p>\n<h2 style=\"font-size:23px;line-height:1.45;font-weight:700;color:#0f1c2e;margin:46px 0 18px;padding:0 0 12px 14px;border-left:5px solid #3ecf8e;border-bottom:1px solid #eef2f7;letter-spacing:.3px\" id=\"sec-3\">\u4e09\u3001\u54cd\u5e94\u5f0f\uff1a\u4e24\u5927\u9635\u8425\u7684\u6839\u672c\u5206\u6b67<\/h2>\n<h3 style=\"font-size:18.5px;line-height:1.55;font-weight:700;color:#18283e;margin:30px 0 12px;padding-left:12px;border-left:3px solid #3ecf8e40\">Q6\uff1aVue 3 \u7684\u54cd\u5e94\u5f0f\u662f\u600e\u4e48\u5b9e\u73b0\u7684\uff1f\u4e3a\u4ec0\u4e48\u7528 WeakMap\uff1f<\/h3>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u6838\u5fc3\u662f <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">Proxy<\/code> \u62e6\u622a + \u4f9d\u8d56\u6536\u96c6\u3002\u4e09\u5c42\u6570\u636e\u7ed3\u6784\u8981\u80fd\u753b\u51fa\u6765\uff1a<\/p>\n<pre style=\"background:#0f1a2b;color:#dbe6f5;border-radius:12px;padding:18px 20px;overflow-x:auto;font-size:13.6px;line-height:1.78;margin:22px 0;border:1px solid #1e2c42;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace\"><code style=\"background:none;border:none;color:inherit;padding:0;font-size:inherit;font-family:inherit\">\/\/ targetMap: WeakMap&lt;object, Map&lt;key, Set&lt;effect&gt;&gt;&gt;\nconst targetMap = new WeakMap()\n\nfunction track(target, key) {\n  if (!activeEffect) return\n  let depsMap = targetMap.get(target)\n  if (!depsMap) targetMap.set(target, depsMap = new Map())\n  let dep = depsMap.get(key)\n  if (!dep) depsMap.set(key, dep = new Set())\n  dep.add(activeEffect)      \/\/ \u6536\u96c6\u4f9d\u8d56\n}\n\nfunction trigger(target, key) {\n  const dep = targetMap.get(target)?.get(key)\n  dep?.forEach(effect =&gt; effect())   \/\/ \u89e6\u53d1\u66f4\u65b0\n}<\/code><\/pre>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">\u4e3a\u4ec0\u4e48\u6700\u5916\u5c42\u7528 WeakMap\uff1f<\/strong>\u56e0\u4e3a\u952e\u662f\u5bf9\u8c61\u5f15\u7528\u3002WeakMap \u6301\u6709\u5f31\u5f15\u7528\uff0c<strong style=\"color:#0f1c2e;font-weight:600\">\u5f53\u54cd\u5e94\u5f0f\u5bf9\u8c61\u88ab\u9500\u6bc1\u3001\u6ca1\u6709\u4efb\u4f55\u5176\u4ed6\u5f15\u7528\u65f6\uff0c\u5783\u573e\u56de\u6536\u53ef\u4ee5\u6b63\u5e38\u56de\u6536\u5b83<\/strong>\uff0c\u5bf9\u5e94\u7684\u4f9d\u8d56\u96c6\u5408\u4e5f\u4f1a\u81ea\u52a8\u6d88\u5931\u3002\u7528 Map \u4f1a\u9020\u6210\u5185\u5b58\u6cc4\u6f0f\u2014\u2014\u5bf9\u8c61\u5df2\u7ecf\u4e0d\u7528\u4e86\uff0c\u4f46\u56e0\u4e3a\u88ab Map \u7684\u952e\u5f3a\u5f15\u7528\u7740\uff0c\u6c38\u8fdc\u65e0\u6cd5\u56de\u6536\u3002<\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u987a\u5e26\u4e00\u63d0\uff0cVue 3.6 \u628a\u5185\u90e8\u54cd\u5e94\u5f0f\u5b9e\u73b0\u6362\u6210\u4e86 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">alien-signals<\/code>\uff0c\u91c7\u7528<strong style=\"color:#0f1c2e;font-weight:600\">\u57fa\u4e8e\u7248\u672c\u53f7\u7684\u53cc\u5411\u94fe\u8868<\/strong>\u800c\u975e Set \u6765\u7ec4\u7ec7\u4f9d\u8d56\uff0c\u5185\u5b58\u5360\u7528\u548c\u66f4\u65b0\u4f20\u64ad\u5f00\u9500\u8fdb\u4e00\u6b65\u4e0b\u964d\u3002\u8fd9\u662f\u5bf9\u5916\u7684\u5b9e\u73b0\u66ff\u6362\uff0c<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">ref<\/code>\/<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">reactive<\/code> \u7684 API \u884c\u4e3a\u4fdd\u6301\u4e00\u81f4\u3002<\/p>\n<h3 style=\"font-size:18.5px;line-height:1.55;font-weight:700;color:#18283e;margin:30px 0 12px;padding-left:12px;border-left:3px solid #3ecf8e40\">Q7\uff1aReact \u4e3a\u4ec0\u4e48\u4e0d\u505a&#8221;\u81ea\u52a8\u4f9d\u8d56\u6536\u96c6&#8221;\uff1f<\/h3>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u4e0d\u662f\u4e0d\u80fd\uff0c\u800c\u662f<strong style=\"color:#0f1c2e;font-weight:600\">\u9009\u62e9\u4e86\u4e0d\u540c\u7684\u53d6\u820d<\/strong>\u3002React \u7684\u6a21\u578b\u662f<strong style=\"color:#0f1c2e;font-weight:600\">\u4e0d\u53ef\u53d8\u6570\u636e + \u663e\u5f0f\u91cd\u6e32\u67d3<\/strong>\uff1a\u72b6\u6001\u53d8\u4e86\uff0c\u7ec4\u4ef6\u51fd\u6570\u91cd\u65b0\u6267\u884c\uff0c\u751f\u6210\u65b0\u7684\u5143\u7d20\u6811\uff0c\u518d\u7531 diff \u627e\u51fa\u771f\u5b9e\u53d8\u66f4\u3002<\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u4ee3\u4ef7\u662f\u4f1a\u4ea7\u751f&#8221;\u65e0\u8c13\u7684\u91cd\u6e32\u67d3&#8221;\uff08\u6240\u4ee5\u624d\u9700\u8981 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">memo<\/code>\u3001<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">useMemo<\/code>\u3001<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">useCallback<\/code>\uff09\uff1b\u6536\u76ca\u662f<strong style=\"color:#0f1c2e;font-weight:600\">\u6570\u636e\u6d41\u53ef\u9884\u6d4b\u3001\u53ef\u91cd\u653e\u3001\u53ef\u5e76\u53d1\u4e2d\u65ad<\/strong>\u2014\u2014\u56e0\u4e3a\u7ec4\u4ef6\u5fc5\u987b\u662f\u7eaf\u51fd\u6570\uff0c\u624d\u80fd\u5728\u5e76\u53d1\u6e32\u67d3\u91cc\u88ab\u5b89\u5168\u5730\u6253\u65ad\u548c\u91cd\u505a\u3002<\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u800c Vue \u7684\u7ec6\u7c92\u5ea6\u54cd\u5e94\u5f0f\uff0c\u66f4\u65b0\u662f&#8221;\u7cbe\u786e\u547d\u4e2d&#8221;\u7684\uff0c\u5929\u7136\u4e0d\u9700\u8981 memo\uff0c\u4f46\u7ec4\u4ef6\u7684\u6267\u884c\u65f6\u673a\u662f\u9690\u5f0f\u7684\uff0c\u4e0e\u5e76\u53d1\u6e32\u67d3\u8fd9\u5957\u673a\u5236\u7684\u517c\u5bb9\u6027\u6210\u672c\u66f4\u9ad8\u3002<strong style=\"color:#0f1c2e;font-weight:600\">React Compiler 1.0 \u5df2 GA\uff0c\u5b83\u505a\u7684\u4e8b\u6b63\u662f\u5728\u7f16\u8bd1\u671f\u81ea\u52a8\u63d2\u5165\u7b49\u4ef7\u7684 memo \u903b\u8f91<\/strong>\uff0c\u628a&#8221;\u624b\u52a8\u4f18\u5316&#8221;\u8fd9\u4e00\u5c42\u8d1f\u62c5\u6536\u6389\uff0c\u800c\u4e0d\u6539\u53d8\u5e95\u5c42\u6a21\u578b\u3002<\/p>\n<h3 style=\"font-size:18.5px;line-height:1.55;font-weight:700;color:#18283e;margin:30px 0 12px;padding-left:12px;border-left:3px solid #3ecf8e40\">Q8\uff1aVue \u7684 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">ref<\/code> \u548c <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">reactive<\/code> \u600e\u4e48\u9009\uff1f<\/h3>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u56de\u7b54\u8981\u70b9\uff1a<\/p>\n<ul style=\"padding-left:26px;margin:16px 0\">\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">reactive<\/code> \u53ea\u80fd\u4ee3\u7406\u5bf9\u8c61\uff0c<strong style=\"color:#0f1c2e;font-weight:600\">\u89e3\u6784\u6216\u8fd4\u56de\u65f6\u4f1a\u4e22\u5931\u54cd\u5e94\u6027<\/strong>\uff08\u56e0\u4e3a Proxy \u662f\u7ed1\u5728\u5bf9\u8c61\u4e0a\u7684\uff0c\u89e3\u6784\u51fa\u6765\u7684\u662f\u666e\u901a\u503c\uff09\u3002<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">ref<\/code> \u5305\u4e86\u4e00\u5c42 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">{ value }<\/code>\uff0c\u9760\u5f15\u7528\u6765\u627f\u8f7d\u54cd\u5e94\u6027\uff0c\u53ef\u4ee5\u627f\u8f7d\u4efb\u610f\u7c7b\u578b\uff0c\u4f20\u9012\u548c\u89e3\u6784\u90fd\u4e0d\u4e22\u3002<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\">\u5b9e\u8df5\u4e0a\uff1a<strong style=\"color:#0f1c2e;font-weight:600\">\u4f18\u5148\u7528 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">ref<\/code><\/strong>\uff0c\u9664\u975e\u660e\u786e\u9700\u8981\u4e00\u7ec4\u5f3a\u5173\u8054\u7684\u5b57\u6bb5\u3002\u56e2\u961f\u7edf\u4e00\u6bd4\u8ffd\u6c42&#8221;\u8bed\u6cd5\u66f4\u5e72\u51c0&#8221;\u91cd\u8981\u3002<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\">\u9677\u9631\uff1a<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">reactive<\/code> \u5bf9\u8c61\u6574\u4f53\u66ff\u6362\uff08<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">obj = {...}<\/code>\uff09\u4e0d\u4f1a\u89e6\u53d1\u66f4\u65b0\uff0c\u5fc5\u987b\u6539\u5c5e\u6027\u6216\u7528 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">Object.assign<\/code>\u3002<\/li>\n<\/ul>\n<h2 style=\"font-size:23px;line-height:1.45;font-weight:700;color:#0f1c2e;margin:46px 0 18px;padding:0 0 12px 14px;border-left:5px solid #3ecf8e;border-bottom:1px solid #eef2f7;letter-spacing:.3px\" id=\"sec-4\">\u56db\u3001\u8c03\u5ea6\u4e0e\u65f6\u95f4\u5207\u7247<\/h2>\n<h3 style=\"font-size:18.5px;line-height:1.55;font-weight:700;color:#18283e;margin:30px 0 12px;padding-left:12px;border-left:3px solid #3ecf8e40\">Q9\uff1a<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">setState<\/code> \u5230\u5e95\u662f\u540c\u6b65\u8fd8\u662f\u5f02\u6b65\uff1f<\/h3>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u8fd9\u4e2a\u95ee\u9898\u672c\u8eab\u95ee\u5f97\u4e0d\u51c6\u786e\uff0c\u6807\u51c6\u7b54\u6cd5\u662f<strong style=\"color:#0f1c2e;font-weight:600\">\u5206\u7248\u672c\u3001\u5206\u573a\u666f<\/strong>\uff1a<\/p>\n<ul style=\"padding-left:26px;margin:16px 0\">\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">React 18 \u4e4b\u524d<\/strong>\uff1a\u5728 React \u4e8b\u4ef6\u5904\u7406\u51fd\u6570\u91cc\u662f\u6279\u5904\u7406\u7684\uff08\u8868\u73b0\u4e3a&#8221;\u5f02\u6b65&#8221;\uff09\uff1b\u5728 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">setTimeout<\/code>\u3001\u539f\u751f\u4e8b\u4ef6\u3001Promise \u56de\u8c03\u91cc\u662f\u540c\u6b65\u7684\uff0c\u6bcf\u6b21\u8c03\u7528\u7acb\u5373\u89e6\u53d1\u6e32\u67d3\u3002<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">React 18 \u4e4b\u540e<\/strong>\uff1a\u81ea\u52a8\u6279\u5904\u7406\uff08Automatic Batching\uff09\u8986\u76d6\u4e86\u6240\u6709\u573a\u666f\uff0c\u5305\u62ec timeout \u548c\u539f\u751f\u4e8b\u4ef6\u3002\u6240\u4ee5<strong style=\"color:#0f1c2e;font-weight:600\">\u5728 React 18+ \u91cc\uff0c\u5b83\u603b\u662f\u6279\u5904\u7406\u7684<\/strong>\u3002<\/li>\n<\/ul>\n<pre style=\"background:#0f1a2b;color:#dbe6f5;border-radius:12px;padding:18px 20px;overflow-x:auto;font-size:13.6px;line-height:1.78;margin:22px 0;border:1px solid #1e2c42;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace\"><code style=\"background:none;border:none;color:inherit;padding:0;font-size:inherit;font-family:inherit\">\/\/ React 18+\uff1a\u4ee5\u4e0b\u4e24\u6b21 setState \u53ea\u4f1a\u89e6\u53d1\u4e00\u6b21\u6e32\u67d3\nsetTimeout(() =&gt; {\n  setCount(c =&gt; c + 1)\n  setFlag(f =&gt; !f)\n}, 1000)\n\n\/\/ \u5982\u679c\u9700\u8981\"\u7acb\u523b\u8bfb\u5230\u66f4\u65b0\u540e\u7684 DOM\"\uff0c\u7528 flushSync\nimport { flushSync } from 'react-dom'\nflushSync(() =&gt; setCount(1))   \/\/ \u540c\u6b65\u5237\u65b0\uff0c\u8df3\u51fa\u6279\u5904\u7406<\/code><\/pre>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u52a0\u5206\u70b9\uff1a<strong style=\"color:#0f1c2e;font-weight:600\">\u6279\u5904\u7406\u4f9d\u8d56\u7684\u662f&#8221;\u66f4\u65b0\u88ab\u8c03\u5ea6\u5230\u540c\u4e00\u4e2a\u6279\u6b21&#8221;<\/strong>\uff0c\u800c <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">flushSync<\/code> \u662f\u663e\u5f0f\u7684\u9003\u751f\u8231\uff0c\u4ee3\u4ef7\u662f\u540c\u6b65\u6e32\u67d3\u963b\u585e\u4e3b\u7ebf\u7a0b\uff0c\u522b\u6ee5\u7528\u3002<\/p>\n<h3 style=\"font-size:18.5px;line-height:1.55;font-weight:700;color:#18283e;margin:30px 0 12px;padding-left:12px;border-left:3px solid #3ecf8e40\">Q10\uff1aReact \u7684\u6e32\u67d3\u5206\u54ea\u51e0\u4e2a\u9636\u6bb5\uff1f\u54ea\u4e9b\u80fd\u88ab\u6253\u65ad\uff1f<\/h3>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u4e24\u4e2a\u9636\u6bb5\u5fc5\u987b\u5206\u6e05\uff1a<\/p>\n<ol style=\"padding-left:26px;margin:16px 0\">\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Render \u9636\u6bb5\uff08\u53ef\u4e2d\u65ad\uff09<\/strong>\uff1a\u6784\u5efa Fiber \u6811\u3001diff \u51fa\u53d8\u66f4\u3001\u6536\u96c6\u526f\u4f5c\u7528\u3002\u8fd9\u4e2a\u9636\u6bb5\u662f\u7eaf\u8ba1\u7b97\uff0c\u53ef\u4ee5\u968f\u65f6\u4e2d\u65ad\u3001\u91cd\u505a\u3001\u4e22\u5f03\u3002\u5bf9\u5e94\u7684\u751f\u547d\u5468\u671f\/computed \u903b\u8f91<strong style=\"color:#0f1c2e;font-weight:600\">\u5fc5\u987b\u662f\u7eaf\u7684<\/strong>\u2014\u2014\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">componentWillMount<\/code> \u8fd9\u7c7b\u88ab\u5e9f\u5f03\u3002<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Commit \u9636\u6bb5\uff08\u4e0d\u53ef\u4e2d\u65ad\uff09<\/strong>\uff1a\u628a\u53d8\u66f4\u4e00\u6b21\u6027\u5237\u5230\u771f\u5b9e DOM\uff0c\u6267\u884c layout effect \u548c passive effect\u3002\u5fc5\u987b\u4e00\u53e3\u6c14\u505a\u5b8c\uff0c\u5426\u5219\u7528\u6237\u4f1a\u770b\u5230\u6495\u88c2\u7684\u754c\u9762\u3002<\/li>\n<\/ol>\n<blockquote style=\"margin:24px 0;padding:16px 22px;background:#f7fafd;border-left:4px solid #3ecf8e;border-radius:0 10px 10px 0;color:#4a5b73;font-size:15.6px;line-height:1.88\">\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u4e00\u53e5\u8bdd\u603b\u7ed3\uff1a<strong style=\"color:#0f1c2e;font-weight:600\">Render \u9636\u6bb5\u53ef\u4ee5\u91cd\u6765\uff0cCommit \u9636\u6bb5\u5fc5\u987b\u4e00\u6b21\u6210\u529f\u3002<\/strong>\u7406\u89e3\u4e86\u8fd9\u70b9\uff0c\u5c31\u80fd\u7406\u89e3\u4e3a\u4ec0\u4e48\u526f\u4f5c\u7528\u8981\u5199\u5728 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">useEffect<\/code> \u800c\u4e0d\u662f\u6e32\u67d3\u903b\u8f91\u91cc\u3002<\/p>\n<\/blockquote>\n<h2 style=\"font-size:23px;line-height:1.45;font-weight:700;color:#0f1c2e;margin:46px 0 18px;padding:0 0 12px 14px;border-left:5px solid #3ecf8e;border-bottom:1px solid #eef2f7;letter-spacing:.3px\" id=\"sec-5\">\u4e94\u30012026 \u5e74\u7684\u65b0\u8003\u70b9\uff1a\u7f16\u8bd1\u671f\u4f18\u5316<\/h2>\n<h3 style=\"font-size:18.5px;line-height:1.55;font-weight:700;color:#18283e;margin:30px 0 12px;padding-left:12px;border-left:3px solid #3ecf8e40\">Q11\uff1a\u4ec0\u4e48\u662f&#8221;\u7f16\u8bd1\u671f\u4f18\u5316&#8221;\uff1fSignal \u548c\u865a\u62df DOM \u662f\u5bf9\u7acb\u7684\u5417\uff1f<\/h3>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u8d8b\u52bf\u662f\uff1a<strong style=\"color:#0f1c2e;font-weight:600\">\u628a\u8fd0\u884c\u65f6\u7684 diff \u5de5\u4f5c\u5c3d\u91cf\u632a\u5230\u7f16\u8bd1\u671f<\/strong>\u3002\u51e0\u4e2a\u4ee3\u8868\uff1a<\/p>\n<ul style=\"padding-left:26px;margin:16px 0\">\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Svelte 5 runes<\/strong>\uff1a\u7f16\u8bd1\u65f6\u5c31\u5206\u6790\u51fa\u72b6\u6001\u4f9d\u8d56\u5173\u7cfb\uff0c\u751f\u6210\u76f4\u63a5\u64cd\u4f5c DOM \u7684\u66f4\u65b0\u4ee3\u7801\uff0c\u8fd0\u884c\u65f6\u6839\u672c\u6ca1\u6709\u865a\u62df DOM\u3002<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Solid<\/strong>\uff1a\u7ec6\u7c92\u5ea6 Signal\uff0c\u66f4\u65b0\u65f6\u76f4\u63a5\u5b9a\u4f4d\u5230\u5177\u4f53\u7684 DOM \u7ed1\u5b9a\uff0c\u4e0d\u7ecf\u8fc7\u7ec4\u4ef6\u91cd\u6e32\u67d3\u3002<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Vue Vapor Mode\uff083.6\uff09<\/strong>\uff1a\u5bf9\u6807\u6ce8\u4e86 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">&lt;script setup vapor&gt;<\/code> \u7684\u7ec4\u4ef6\uff0c\u8df3\u8fc7\u865a\u62df DOM\uff0c\u7f16\u8bd1\u6210\u76f4\u63a5\u64cd\u4f5c DOM \u7684\u4ee3\u7801\uff0c\u4e0e\u865a\u62df DOM \u7ec4\u4ef6\u53ef\u4ee5\u6df7\u7528\u3002<\/li>\n<\/ul>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u5173\u952e\u8ba4\u77e5\uff1a<strong style=\"color:#0f1c2e;font-weight:600\">Signal \u548c\u865a\u62df DOM \u4e0d\u662f\u975e\u6b64\u5373\u5f7c<\/strong>\u3002Vue 3.6 \u7684\u505a\u6cd5\u5c31\u662f\u540c\u4e00\u5957\u54cd\u5e94\u5f0f + \u4e24\u5957\u6e32\u67d3\u7b56\u7565\u5171\u5b58\uff0c\u6309\u7ec4\u4ef6\u7c92\u5ea6\u9009\u62e9\u3002\u9762\u8bd5\u65f6\u8bf4\u51fa&#8221;\u8fd9\u662f\u6e32\u67d3\u7b56\u7565\u7684\u53ef\u9009\u9879\uff0c\u4e0d\u662f\u6846\u67b6\u8def\u7ebf\u4e4b\u4e89&#8221;\uff0c\u4f1a\u663e\u5f97\u8ba4\u77e5\u6bd4\u8f83\u65b0\u3002<\/p>\n<h3 style=\"font-size:18.5px;line-height:1.55;font-weight:700;color:#18283e;margin:30px 0 12px;padding-left:12px;border-left:3px solid #3ecf8e40\">Q12\uff1a\u4e3a\u4ec0\u4e48 React Compiler \u80fd\u81ea\u52a8\u505a memo\uff1f<\/h3>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u56e0\u4e3a\u5b83<strong style=\"color:#0f1c2e;font-weight:600\">\u5728\u7f16\u8bd1\u671f\u505a\u4e86\u6570\u636e\u6d41\u5206\u6790<\/strong>\uff1a\u5206\u6790\u51fa\u54ea\u4e9b\u503c\u7684\u4f9d\u8d56\u6ca1\u53d8\uff0c\u5c31\u628a\u5bf9\u5e94\u7684\u8ba1\u7b97\u7ed3\u679c\u7f13\u5b58\u4e0b\u6765\uff0c\u7b49\u4ef7\u4e8e\u624b\u5199\u7684 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">useMemo<\/code>\/<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">useCallback<\/code>\/<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">memo<\/code>\uff0c\u4f46\u7c92\u5ea6\u66f4\u7ec6\uff08\u53ef\u4ee5\u7cbe\u786e\u5230 JSX \u5185\u90e8\u7684\u67d0\u4e2a\u8868\u8fbe\u5f0f\uff09\u3002<\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u5b83\u7684\u524d\u63d0\u662f<strong style=\"color:#0f1c2e;font-weight:600\">\u7ec4\u4ef6\u5fc5\u987b\u9075\u5b88 React \u7684\u89c4\u5219<\/strong>\uff1a\u7eaf\u51fd\u6570\u3001\u4e0d\u5728\u6e32\u67d3\u4e2d\u4fee\u6539\u5916\u90e8\u53d8\u91cf\u3001Hooks \u8c03\u7528\u987a\u5e8f\u7a33\u5b9a\u3002\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48\u914d\u5957\u7684 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">eslint-plugin-react-hooks<\/code>\uff08\u5f53\u524d 7.1.1\uff09\u6210\u4e86\u5fc5\u9700\u9879\u2014\u2014<strong style=\"color:#0f1c2e;font-weight:600\">\u7f16\u8bd1\u5668\u53ea\u80fd\u4f18\u5316\u5b83&#8221;\u6562\u786e\u5b9a&#8221;\u7684\u90e8\u5206\uff0c\u89c4\u5219\u8fdd\u89c4\u7684\u5730\u65b9\u4f1a\u4fdd\u5b88\u5730\u8df3\u8fc7\u4f18\u5316<\/strong>\u3002<\/p>\n<h2 style=\"font-size:23px;line-height:1.45;font-weight:700;color:#0f1c2e;margin:46px 0 18px;padding:0 0 12px 14px;border-left:5px solid #3ecf8e;border-bottom:1px solid #eef2f7;letter-spacing:.3px\" id=\"sec-6\">\u516d\u3001\u600e\u4e48\u628a\u8fd9\u4e00\u5757\u7b54\u51fa\u5f69<\/h2>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u6846\u67b6\u539f\u7406\u9898\u7684\u8bc4\u5206\u6807\u51c6\uff0c\u901a\u5e38\u4e0d\u662f&#8221;\u7b54\u5bf9&#8221;\uff0c\u800c\u662f<strong style=\"color:#0f1c2e;font-weight:600\">\u6709\u6ca1\u6709\u5206\u5c42\u548c\u53d6\u820d\u610f\u8bc6<\/strong>\u3002\u7ed9\u4e09\u6761\u5b9e\u64cd\u5efa\u8bae\uff1a<\/p>\n<ol style=\"padding-left:26px;margin:16px 0\">\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">\u5148\u7ed9\u7ed3\u8bba\uff0c\u518d\u7ed9\u7ea6\u675f<\/strong>\u3002\u4e0d\u8981\u4ece\u5b9e\u73b0\u7ec6\u8282\u8bb2\u8d77\u3002\u6bd4\u5982\u88ab\u95ee Fiber\uff0c\u5148\u8bf4&#8221;\u5b83\u89e3\u51b3\u7684\u662f\u4e0d\u53ef\u4e2d\u65ad\u7684\u9012\u5f52\u5bfc\u81f4\u7684\u957f\u4efb\u52a1\u963b\u585e&#8221;\uff0c\u518d\u5c55\u5f00\u6570\u636e\u7ed3\u6784\u3002<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">\u4e3b\u52a8\u505a\u5bf9\u6bd4<\/strong>\u3002\u80fd\u540c\u65f6\u8bf4\u51fa React \u548c Vue \u7684\u4e0d\u540c\u53d6\u820d\uff0c\u8bf4\u660e\u4f60\u7406\u89e3\u7684\u662f\u8bbe\u8ba1\u7a7a\u95f4\u800c\u4e0d\u662f\u67d0\u4e2a\u6846\u67b6\u7684 API\u3002<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">\u51c6\u5907\u4e00\u4e2a\u771f\u5b9e\u7684\u8e29\u5751\u6848\u4f8b<\/strong>\u3002&#8221;\u6211\u4eec\u5217\u8868\u7528\u4e86 index \u505a key\uff0c\u5bfc\u81f4\u7b5b\u9009\u540e\u52fe\u9009\u72b6\u6001\u9519\u4f4d\uff0c\u6392\u67e5\u4e86\u534a\u5929&#8221;\u2014\u2014\u8fd9\u7c7b\u4f8b\u5b50\u6bd4\u80cc\u5341\u6761\u56de\u7b54\u90fd\u6709\u8bf4\u670d\u529b\u3002<\/li>\n<\/ol>\n<h2 style=\"font-size:23px;line-height:1.45;font-weight:700;color:#0f1c2e;margin:46px 0 18px;padding:0 0 12px 14px;border-left:5px solid #3ecf8e;border-bottom:1px solid #eef2f7;letter-spacing:.3px\" id=\"sec-7\">\u4e03\u3001\u5c0f\u7ed3<\/h2>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u6846\u67b6\u539f\u7406\u8fd9\u4e00\u5757\u53ef\u4ee5\u6536\u655b\u6210\u4e94\u53e5\u8bdd\uff1a<strong style=\"color:#0f1c2e;font-weight:600\">\u865a\u62df DOM \u6362\u7684\u662f\u5f00\u53d1\u4f53\u9a8c\u548c\u53ef\u9884\u6d4b\u6027\u800c\u975e\u7edd\u5bf9\u6027\u80fd\uff1bDiff \u9760\u4e09\u6761\u542f\u53d1\u5f0f\u628a\u590d\u6742\u5ea6\u964d\u5230\u7ebf\u6027\uff1bFiber \u628a\u9012\u5f52\u6539\u5199\u6210\u53ef\u4e2d\u65ad\u7684\u94fe\u8868\u904d\u5386\uff1b\u54cd\u5e94\u5f0f\u4e24\u5927\u9635\u8425\u7684\u5206\u6b67\u5728&#8221;\u7cbe\u786e\u66f4\u65b0&#8221;\u4e0e&#8221;\u53ef\u91cd\u653e\u7eaf\u51fd\u6570&#8221;\u4e4b\u95f4\u53d6\u820d\uff1b2026 \u5e74\u7684\u4e3b\u6218\u573a\u5df2\u7ecf\u632a\u5230\u4e86\u7f16\u8bd1\u671f\u3002<\/strong><\/p>\n<hr style=\"border:none;border-top:1px solid #eaeef4;margin:34px 0\">\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><em style=\"color:#5a6b85;font-style:normal;background:#3ecf8e1f;padding:1px 4px;border-radius:4px\">\u53c2\u8003\uff1a<a href=\"https:\/\/react.dev\/learn\" target=\"_blank\" rel=\"noopener\" style=\"color:#3ecf8e;text-decoration:none;border-bottom:1px solid #3ecf8e66;transition:opacity .15s\">React \u5b98\u65b9\u6587\u6863<\/a>\u3001<a href=\"https:\/\/vuejs.org\/guide\/extras\/reactivity-in-depth.html\" target=\"_blank\" rel=\"noopener\" style=\"color:#3ecf8e;text-decoration:none;border-bottom:1px solid #3ecf8e66;transition:opacity .15s\">Vue \u54cd\u5e94\u5f0f\u6df1\u5165<\/a>\u3001<a href=\"https:\/\/svelte.dev\/docs\/svelte\/what-are-runes\" target=\"_blank\" rel=\"noopener\" style=\"color:#3ecf8e;text-decoration:none;border-bottom:1px solid #3ecf8e66;transition:opacity .15s\">Svelte Runes \u6587\u6863<\/a>\u3002\u7248\u672c\u53f7\u4ee5 npm dist-tags \u4e3a\u51c6\uff0c\u5f15\u7528\u524d\u5efa\u8bae\u518d\u6838\u4e00\u6b21\u3002<\/em><\/p>\n<div style=\"margin:42px 0 0;padding:22px 0 0;border-top:1px solid #eaeef4\">\n<div style=\"font-size:13px;color:#93a1b5;letter-spacing:1px;margin-bottom:12px\">\u6807\u7b7e<\/div>\n<p><span style=\"display:inline-block;background:#f3f6fa;border:1px solid #e4eaf2;color:#5b6c85;font-size:13px;padding:5px 12px;border-radius:999px;margin:0 8px 8px 0\">#\u524d\u7aef\u9762\u8bd5\u9898<\/span><span style=\"display:inline-block;background:#f3f6fa;border:1px solid #e4eaf2;color:#5b6c85;font-size:13px;padding:5px 12px;border-radius:999px;margin:0 8px 8px 0\">#React<\/span><span style=\"display:inline-block;background:#f3f6fa;border:1px solid #e4eaf2;color:#5b6c85;font-size:13px;padding:5px 12px;border-radius:999px;margin:0 8px 8px 0\">#Vue<\/span><span style=\"display:inline-block;background:#f3f6fa;border:1px solid #e4eaf2;color:#5b6c85;font-size:13px;padding:5px 12px;border-radius:999px;margin:0 8px 8px 0\">#\u9762\u8bd5<\/span><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6846\u67b6\u539f\u7406\u662f\u524d\u7aef\u9762\u8bd5\u91cc\u6700\u80fd\u62c9\u5f00\u5dee\u8ddd\u7684\u4e00\u5757\u3002\u672c\u6587\u6309\u865a\u62df DOM\u3001Diff\u3001\u54cd\u5e94\u5f0f\u3001\u8c03\u5ea6\u3001\u7f16\u8bd1\u671f\u4f18\u5316\u4e94\u5c42\u7ec4\u7ec7\uff0c\u6bcf\u5c42\u7ed9\u51fa\u9ad8\u9891\u95ee\u9898\u3001\u6807\u51c6\u7b54\u6848\u8981\u70b9\u4e0e\u8ffd\u95ee\u9677\u9631\u3002\u7248\u672c\u5750\u6807\uff1aReact 19.2.8\u3001Vue 3.5.42\u3001Svelte 5.57.0\u3001Solid 1.9.15\u3002<\/p>\n","protected":false},"author":1,"featured_media":230,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,11],"tags":[26,112,64,66],"class_list":["post-232","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-frontend-question-bank","category-question-bank","tag-react","tag-vue","tag-64","tag-66"],"_links":{"self":[{"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/posts\/232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/comments?post=232"}],"version-history":[{"count":0,"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/posts\/232\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/media\/230"}],"wp:attachment":[{"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/media?parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/categories?post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/tags?post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}