{"id":2991,"date":"2020-06-17T13:47:15","date_gmt":"2020-06-17T05:47:15","guid":{"rendered":"http:\/\/www.yuguoxy.com\/geekhome\/?p=2991"},"modified":"2026-08-18T12:35:31","modified_gmt":"2026-08-18T04:35:31","slug":"vs-code-%e6%88%90%e4%b8%bb%e5%ae%b0%e3%80%81vue%e5%a4%87%e5%8f%97%e7%83%ad%e6%8d%a7%e3%80%81flutter%e6%88%90%e6%96%b0%e8%b4%b5%ef%bc%812020-%e5%89%8d%e7%ab%af%e5%bc%80%e5%8f%91%e8%b6%8b%e5%8a%bf","status":"publish","type":"post","link":"https:\/\/ai.zhousir.top\/?p=2991","title":{"rendered":"VS Code \u6210\u4e3b\u5bb0\u3001Vue\u5907\u53d7\u70ed\u6367\u3001Flutter\u6210\u65b0\u8d35\uff012020 \u524d\u7aef\u5f00\u53d1\u8d8b\u52bf\u6307\u5357"},"content":{"rendered":"<section id=\"wenyan\" style=\"font-family: system-ui, 'Apple Color Emoji', 'Segoe UI', 'Segoe UI Symbol', 'Noto Sans', Roboto, sans-serif; line-height: 1.75; font-size: 16px; color: #000000; caret-color: #000000;\" data-provider=\"WenYan\">\n<p style=\"margin: 1em 0px;\">\u524d\u7aef\u5728\u751f\u4ea7\u91cc\u8d8a\u6765\u8d8a\u91cd\uff1aPC\u3001\u624b\u673a\u3001\u684c\u9762\u3001\u667a\u80fd\u624b\u8868\u90fd\u79bb\u4e0d\u5f00\u5b83\u3002\u672c\u6587\u56f4\u7ed5\u6846\u67b6\u3001\u8bed\u8a00\u3001\u5de5\u5177\u3001React\u3001Vue\uff0c\u56de\u987e 2019 \u5e74 Web \u5f00\u53d1\u5927\u4e8b\u3002\u8bd1\u6587\u6765\u6e90\uff1a<a class=\"url\" href=\"https:\/\/levelup.gitconnected.com\/a-recap-of-frontend-development-in-2019-1e7d07966d6c\" target=\"_blank\">https:\/\/levelup.gitconnected.com\/a-recap-of-frontend-development-in-2019-1e7d07966d6c<\/a>\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u8fc7\u53bb\u4e00\u5e74\u524d\u7aef\u518d\u6b21\u52a0\u901f\uff0c\u4e0b\u9762\u6309\u70ed\u5ea6\u628a\u6846\u67b6\u4e0b\u8f7d\u3001Wasm\u3001TypeScript\u3001\u4e09\u5927\u6846\u67b6\u3001Flutter\u3001PWA\u3001GraphQL\u3001VS Code \u7b49\u6536\u6210\u4e00\u4efd 2020 \u8d8b\u52bf\u6307\u5357\u3002<\/p>\n<p style=\"margin: 1em 0px;\"><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2020\/06\/\u256c\u0432\u2568\u253c\u255c\u256a\u2550\u255d_20200623134443.jpg\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2992\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2020\/06\/\u256c\u0432\u2568\u253c\u255c\u256a\u2550\u255d_20200623134443.jpg\" alt=\"\u256c\u0432\u2568\u253c\u255c\u256a\u2550\u255d_20200623134443\" width=\"1080\" height=\"608\" \/><\/a><\/p>\n<table style=\"display: table; text-align: left; overflow: auto; border-collapse: collapse; margin: 1.4em auto; max-width: 100%; table-layout: fixed; overflow-wrap: break-word; word-break: break-all;\" width=\"800\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u4e3b\u9898<\/th>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">2019 \u5e74\u7684\u4fe1\u53f7<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u6846\u67b6<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">React \u4e0b\u8f7d\u7b2c\u4e00\uff1bVue \u70ed\u60c5\u9ad8\u3001\u661f\u591a\uff1bAngular \u8d70 Ivy\uff1bSvelte \u53d7\u5173\u6ce8\u4f46\u91c7\u7528\u4ecd\u5c11<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u8bed\u8a00<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">Wasm \u6210\u7b2c\u56db\u79cd Web \u8bed\u8a00\uff1bTypeScript \u4e0b\u8f7d\u8d85\u8fc7 React<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u8de8\u7aef<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">Flutter \u661f\u6570\u903c\u8fd1 React Native<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u5de5\u5177<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">VS Code \u4e3b\u5bb0\u7f16\u8f91\u5668\uff1bWebpack 5 \u6d4b\u8bd5\uff1bJest \u5f03 Flow \u6295 TS<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e00\u3001\u6846\u67b6\u3001\u8bed\u8a00\u4e0e\u8fd0\u884c\u65f6<\/h2>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">1. 2019 \u5e74\u6d41\u884c\u6846\u67b6\u7684 NPM \u4e0b\u8f7d<\/h3>\n<p style=\"margin: 1em 0px;\">React \u518d\u767b\u699c\u9996\u4e14\u4ecd\u5728\u6da8\uff1bjQuery \u610f\u5916\u4fdd\u4f4f\u7b2c\u4e8c\u3002\u968f\u540e\u662f Angular \u548c Vue\u3002Svelte \u53bb\u5e74\u5f88\u53d7\u5173\u6ce8\uff0c\u91c7\u7528\u8fd8\u5728\u52aa\u529b\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">2. WebAssembly \u6210\u4e3a\u7b2c\u56db\u79cd Web \u8bed\u8a00<\/h3>\n<p style=\"margin: 1em 0px;\">12 \u6708\u521d W3C \u6b63\u5f0f\u63a8\u8350 Wasm \u4e3a Web \u8bed\u8a00\u30022017 \u5e74\u53d1\u5e03\u4ee5\u6765\u91c7\u7528\u5f88\u5feb\uff0c1.0 \u89c4\u8303\u548c\u4e3b\u6d41\u6d4f\u89c8\u5668\u652f\u6301\u90fd\u5df2\u5c31\u7eea\u30022019 \u5e74\u5b57\u8282\u7801\u8054\u76df\uff08Bytecode Alliance\uff09\u6210\u7acb\uff0c\u8981\u628a Wasm \u505a\u5230\u6d4f\u89c8\u5668\u4e4b\u5916\u3002\u5165\u95e8\u95e8\u69db\u8fd8\u8981\u518d\u964d\uff0c\u516c\u53f8\u624d\u80fd\u66f4\u653e\u5fc3\u5730\u7528\u5b83\u505a\u4ea7\u54c1\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">3. TypeScript \u4f7f\u7528\u6fc0\u589e<\/h3>\n<p style=\"margin: 1em 0px;\">2019 \u662f TypeScript \u4e4b\u5e74\uff1a\u7ed9 JS \u52a0\u7c7b\u578b\u7684\u9996\u9009\uff0c\u5f88\u591a\u4eba\u4e2a\u4eba\u9879\u76ee\u548c\u5de5\u4f5c\u90fd\u66f4\u7231\u5b83\u800c\u4e0d\u662f\u88f8 JS\u3002StackOverflow \u8c03\u67e5\u91cc\u5b83\u4e0e Python \u5e76\u5217\u7b2c\u4e8c\u53d7\u6b22\u8fce\u8bed\u8a00\uff0c\u4ec5\u6b21\u4e8e Rust\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u5b83\u5df2\u5728\u5403\u524d\u7aef\u548c\u540e\u7aef\u3002\u6709\u4eba\u4ee5\u4e3a\u4f1a\u50cf CoffeeScript \u4e00\u6837\u4e00\u9635\u98ce\uff0c\u4e8b\u5b9e\u662f\u5b83\u6253\u4e2d\u4e86 JS \u7684\u6838\u5fc3\u75db\u70b9\uff1a\u5c11\u9519\u3001\u7c7b\u578b\u5373\u6587\u6863\u3001\u548c\u4e3b\u6d41\u7f16\u8f91\u5668\u96c6\u6210\u3002NPM \u6d41\u884c\u5ea6\u8d85\u8fc7 React\uff0c\u4e5f\u8fdc\u8d85 Flow\u3001Reason\u3002<\/p>\n<blockquote style=\"display: block; font-size: 0.9em; border-left: 3px solid #4870ac; padding: 0.5em 1em; margin: 0px; background: #f6f8fa; color: #40464f;\">\n<p style=\"margin: 1em 0px;\">TypeScript \u548c React \u89e3\u51b3\u7684\u95ee\u9898\u5b8c\u5168\u4e0d\u540c\uff0c\u4e0b\u56fe\u53ea\u662f\u5c55\u793a\u53d7\u6b22\u8fce\u7a0b\u5ea6\uff0c\u4e0d\u5b9c\u76f4\u63a5\u5bf9\u6bd4\u3002<\/p>\n<\/blockquote>\n<p style=\"margin: 1em 0px;\">TS 3.0 \u5728 2018 \u672b\uff0c2019 \u53d1\u5230 3.7\uff0c\u5e26\u4e0a Optional Chaining\u3001nullish \u4ee5\u53ca\u7c7b\u578b\u68c0\u67e5\u589e\u5f3a\u3002<\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e8c\u3001React\u3001Vue\u3001Angular<\/h2>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">4. React \u7ee7\u7eed\u9886\u5148\uff0c\u94a9\u5b50\u541e\u6389\u751f\u6001<\/h3>\n<p style=\"margin: 1em 0px;\">Vue\u3001Angular \u7528\u6237\u70ed\u60c5\u9ad8\uff0cVue \u5728 GitHub \u661f\u6570\u751a\u81f3\u8d85\u8fc7 React\uff0c\u4f46\u4e2a\u4eba\u548c\u5546\u4e1a\u9879\u76ee\u91cc React \u4ecd\u9886\u5148\u30022018 \u672b\u5f15\u5165 Hooks\uff0c2019 \u5e74\u7edd\u5927\u591a\u6570\u4eba\u7528\u5b83\u7ba1\u72b6\u6001\u548c\u751f\u547d\u5468\u671f\uff1b\u91cd\u8981\u5305\u4e5f\u5f00\u59cb\u7528\u81ea\u5b9a\u4e49\u94a9\u5b50\u5bfc\u51fa\u80fd\u529b\u3002\u4e0d\u5fc5\u518d\u9760 HOC \u6216 render props \u5171\u4eab\u903b\u8f91\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">5. React \u56e2\u961f\u8f6c\u5411\u5f00\u53d1\u8005\u4f53\u9a8c<\/h3>\n<p style=\"margin: 1em 0px;\">16.8 \u4e4b\u540e\u6539\u52a8\u76f8\u5bf9\u5c0f\uff0c\u53d1\u5230 16.14\u3002\u91cd\u70b9\u53d8\u6210\u5de5\u5177\u3002Tom Occhino \u628a DX \u62c6\u6210\u964d\u4f4e\u95e8\u69db\u3001\u63d0\u9ad8\u751f\u4ea7\u7387\u3001\u6539\u5584\u6269\u5c55\u3002\u5f53\u5e74\u843d\u5730\u6216\u89c4\u5212\u7684\u5305\u62ec\uff1a\u65b0 DevTools\u3001\u6027\u80fd\u5206\u6790\u3001CRA v3\u3001\u6d4b\u8bd5\u5de5\u5177\u3001Suspense\u3001\u5e76\u53d1\u6a21\u5f0f\u3001Facebook \u7684 CSS-in-JS\u3001\u6e10\u8fdb hydration\u3001\u6838\u5fc3\u5c42\u65e0\u969c\u788d\u3002Yuzhi Zheng \u7684\u5927\u4f1a\u53d1\u8a00\uff1a<a class=\"url\" href=\"https:\/\/youtu.be\/uXEEL9mrkAQ\" target=\"_blank\">https:\/\/youtu.be\/uXEEL9mrkAQ<\/a>\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">6. Vue \u4e3a 3.0 \u505a\u51c6\u5907\uff0c\u7528\u91cf\u7ee7\u7eed\u6da8<\/h3>\n<p style=\"margin: 1em 0px;\">\u5356\u70b9\u662f\u5438\u53d6 React\/Angular \u518d\u7b80\u5316\uff0c\u4e14\u4e0d\u88ab\u5927\u516c\u53f8\u63a7\u5236\u30023.0 alpha \u6709\u671b\u56db\u5b63\u5ea6\u672b\u30022.x \u53ea\u5728\u5e74\u521d\u6709\u66f4\u65b0\u3002Evan You \u5f81\u96c6 v3 \u5efa\u8bae\u65f6\uff0cAPI \u5927\u6539\u5728 Reddit \/ HN \u5f15\u53d1\u4e89\u8bba\uff1b\u540e\u6765\u8bf4\u660e\u4e0e Vue 2 \u517c\u5bb9\u3002\u6709\u4eba\u62c5\u5fc3\u592a\u50cf React \u800c\u770b Svelte\u30023.0 \u8fd8\u5305\u62ec\uff1a\u7ec4\u5408 API\u3001\u5168\u5c40 mount\/\u914d\u7f6e\u6539\u52a8\u3001Fragments\u3001\u65f6\u95f4\u5207\u7247\uff08\u5b9e\u9a8c\uff09\u3001\u591a\u4e2a v-model\u3001Portal\u3001\u65b0\u81ea\u5b9a\u4e49\u6307\u4ee4\u3001\u54cd\u5e94\u5f0f\u91cd\u5199\u3001\u865a\u62df DOM \u91cd\u5199\u3001\u9759\u6001 props hoisting\u3001\u94a9\u5b50 API\uff08\u5b9e\u9a8c\uff09\u3001slot \u751f\u6210\u4f18\u5316\u3001\u66f4\u597d\u7684 TypeScript\u3002CLI \u7b2c 4 \u7248\u89c1 <a class=\"url\" href=\"https:\/\/youtu.be\/ANtSWq-zI0s\" target=\"_blank\">https:\/\/youtu.be\/ANtSWq-zI0s<\/a>\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">7. Angular 8\/9 \u4e0e Ivy<\/h3>\n<p style=\"margin: 1em 0px;\">Angular \u662f\u201c\u9738\u9053\u201d\u6846\u67b6\uff1a\u5de5\u5177\u9f50\u3001\u5f3a\u5236 TypeScript\uff0c\u5c11\u6389\u9009\u5e93\u4e4b\u4e89\u30022019 \u53d1\u4e86 8\uff0c\u65b0\u6e32\u67d3\/\u7f16\u8bd1\u7ba1\u7ebf Ivy\uff1a\u5305\u66f4\u5c0f\uff0c\u5f53\u65f6\u5728 9 \u4e4b\u524d\u53ef\u9009\u30028 \u7684\u8981\u70b9\uff1a\u5dee\u5206\u52a0\u8f7d\u3001Ivy \u9884\u89c8\u3001Router \u5411\u540e\u517c\u5bb9\u3001Web Worker \u5305\u3001\u4f9d\u8d56\u66f4\u65b0\u300212 \u6708\u4e3a 9 \u505a\u51c6\u5907\uff0cIvy \u5c06\u6210\u4e3a\u6807\u51c6\u3002\u8be6\u89c1 <a class=\"url\" href=\"https:\/\/youtu.be\/5wmWtgr7LQ0\" target=\"_blank\">https:\/\/youtu.be\/5wmWtgr7LQ0<\/a>\u3002<\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e09\u3001\u8bed\u8a00\u7279\u6027\u3001\u8de8\u7aef\u4e0e\u57fa\u91d1\u4f1a<\/h2>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">8. \u53ef\u8bbf\u95ee\u6027\u4e0e\u56fd\u9645\u5316<\/h3>\n<p style=\"margin: 1em 0px;\">\u6a21\u5f0f\u548c\u6846\u67b6\u7a33\u5b9a\u540e\uff0c\u66f4\u591a\u7cbe\u529b\u53ef\u4ee5\u653e\u5728\u672c\u5730\u5316\u548c\u8ba9\u66f4\u591a\u4eba\u7528\u5f97\u4e0a\u3002A11y \u4e0d\u53ea\u662f\u6b8b\u969c\uff0c\u4e5f\u5305\u62ec\u79fb\u52a8\u8bbe\u5907\u548c\u6162\u7f51\u7edc\uff08MDN\uff09\u3002i18n \u662f\u8ba9\u5e94\u7528\u548c\u89c4\u8303\u66f4\u597d\u9002\u5e94\u4e0d\u540c\u6587\u5316\u3001\u5730\u533a\u3001\u8bed\u8a00\uff08W3C\uff09\u3002Accessibility \u7b80\u79f0 A11y\uff0c\u56e0\u4e3a A \u4e0e y \u4e4b\u95f4\u6709 11 \u4e2a\u5b57\u6bcd\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">9. ES2019 \u4e0e\u5373\u5c06\u5230\u6765\u7684 ES2020<\/h3>\n<p style=\"margin: 1em 0px;\">ES2019 \u65b0\u589e\uff1aObject.fromEntries()\u3001String.trimStart\/trimEnd\u3001JSON.stringify \u7684 unicode\u3001Array.flat \/ flatMap\u3001try\/catch \u7ed1\u5b9a\u3001Symbol.description\u3002ES2020 \u66f4\u88ab\u671f\u5f85\uff1a\u79c1\u6709\u7c7b\u5c5e\u6027\u3001Optional Chaining\u3001nullish coalescing\u3001BigInts\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">10. Flutter \u6311\u6218 React Native<\/h3>\n<p style=\"margin: 1em 0px;\">Flutter \u665a\u4e24\u5e74\u53d1\u5e03\uff0cGitHub \u7ea6 80,500 \u661f\uff0c\u63a5\u8fd1 RN \u7684 83,000\u3002\u6ca1\u6709 React Web \u793e\u533a\u90a3\u4e48\u5f3a\u7684\u5e26\u52a8\uff0c\u8fd8\u80fd\u8ffd\u5f97\u8fd9\u4e48\u5feb\uff0c\u8bf4\u660e\u5b83\u5728\u8ba4\u771f\u505a\u8de8\u5e73\u53f0\u79fb\u52a8\u6846\u67b6\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">11. OpenJS \u57fa\u91d1\u4f1a\u4e0e Node 12 LTS<\/h3>\n<p style=\"margin: 1em 0px;\">Node.js \u57fa\u91d1\u4f1a\u4e0e JS \u57fa\u91d1\u4f1a\u5408\u5e76\u4e3a OpenJS\uff0c\u6258\u7ba1 31 \u4e2a\u9879\u76ee\uff08Node\u3001jQuery\u3001Webpack\uff09\uff0cGoogle\u3001IBM\u3001\u5fae\u8f6f\u652f\u6301\u3002Node 12 \u8d70 LTS \u5230 2023 \u5e74 4 \u6708\uff1a\u539f\u751f import\/export\u3001\u79c1\u6709\u7c7b\u5c5e\u6027\u3001V8 7.4\u3001TLS 1.3 \u7b49\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">12. Svelte 3 \u53d7\u5173\u6ce8\u3001\u91c7\u7528\u4ecd\u843d\u540e<\/h3>\n<p style=\"margin: 1em 0px;\">\u53e3\u53f7\u662f\u4ee3\u7801\u66f4\u5c11\u3001\u6ca1\u6709\u865a\u62df DOM\u3001\u771f\u6b63\u7684\u54cd\u5e94\u5f0f\u3002\u628a\u5de5\u4f5c\u632a\u5230\u7f16\u8bd1\u671f\uff0c\u8f93\u51fa HTML \u548c\u539f\u59cb JS\u30022020 \u5e74\u9700\u8981\u66f4\u591a\u80fd\u548c\u4e09\u5927\u6846\u67b6\u5bf9\u6253\u7684\u5b9e\u4f8b\u3002\u76f8\u5173\u89c6\u9891\uff1a<a class=\"url\" href=\"https:\/\/youtu.be\/AdNJ3fydeao\" target=\"_blank\">https:\/\/youtu.be\/AdNJ3fydeao<\/a>\u3002<\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u56db\u3001\u67b6\u6784\u3001\u6570\u636e\u4e0e\u6837\u5f0f<\/h2>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">13. \u9759\u6001\u7ad9\u4e0e JAMStack<\/h3>\n<p style=\"margin: 1em 0px;\">Gatsby\u3001Netlify\u3001headless CMS \u8d77\u6765\u540e\uff0c\u9759\u6001\u7ad9\u7528\u73b0\u4ee3\u5e93\u6784\u5efa\u3001\u6784\u5efa\u65f6\u7f16\u6210 HTML\uff0cCDN \u7f13\u5b58\uff0c\u518d\u5728\u5ba2\u6237\u7aef\u5f53 SPA \u7528 API \u63a8\u8fdb\u72b6\u6001\u2014\u2014\u8fd9\u5c31\u662f JAMStack\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">14. PWA \u91c7\u7528\u589e\u52a0<\/h3>\n<p style=\"margin: 1em 0px;\">\u6d4f\u89c8\u5668\u7f13\u5b58\u3001\u79bb\u7ebf\u3001\u63a8\u9001\u901a\u77e5\u3002\u6709\u4eba\u8bf4\u80fd\u66ff\u4ee3\u539f\u751f\u5e94\u7528\uff1b\u65e0\u8bba\u7ed3\u679c\u5982\u4f55\uff0cPWA \u90fd\u4f1a\u957f\u671f\u5f71\u54cd\u4ea7\u54c1\u5f62\u6001\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">15. \u524d\u7aef\u5de5\u5177\u8d8a\u6765\u8d8a\u597d<\/h3>\n<p style=\"margin: 1em 0px;\">\u4ece\u81ea\u5df1\u63a5 Bower\/NPM\u3001Browserify\/Webpack\u3001\u624b\u5199 Express\uff0c\u5230 CRA\u3001Vue CLI\u3001Angular CLI\u3001Gatsby\u3001Expo\u3001Next\/Nuxt\u3001Hasura\u3001GraphQL Code Generator\u3002\u4e5f\u8bb8\u4e0b\u4e00\u6b65\u662f\u538c\u5026\u5de5\u5177\u672c\u8eab\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">16. GraphQL<\/h3>\n<p style=\"margin: 1em 0px;\">\u6570\u636e\u9a71\u52a8\u800c\u4e0d\u662f\u7aef\u70b9\u9a71\u52a8\uff0c\u5ba2\u6237\u7aef\u58f0\u660e\u8981\u7684\u5b57\u6bb5\u3002\u7c7b\u578b\u5316 schema \u548c TypeScript\u3001Code Generator \u5f88\u642d\u3002\u4e0b\u8f7d\u91cf\u4e00\u5e74\u7ffb\u500d\uff0cApollo \u4e5f\u5728\u51b2\u6700\u5e38\u7528\u6846\u67b6\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">17. CSS-in-JS<\/h3>\n<p style=\"margin: 1em 0px;\">\u7528 JS \u5b57\u7b26\u4e32\u5199\u6837\u5f0f\uff0cimport\/export \u5171\u4eab\uff0cprops \u8fdb\u6837\u5f0f\u505a\u52a8\u6001\u3002\u666e\u901a CSS\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">\/\/ Component JS file\nconst MyComp = ({ isActive }) =&gt; {\n  const className = isActive ? 'active' : 'inactive';\n  return &lt;div className={className}&gt;HI&lt;\/div&gt;\n}\n\/\/ CSS file\n.active { color: green; }\n.inactive { color: red; }<\/code><\/pre>\n<p style=\"margin: 1em 0px;\">CSS-in-JS \u4e0d\u5fc5\u7ba1 class \u540d\uff0c\u628a props \u4ea4\u7ed9 styled \u7ec4\u4ef6\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">const Header = styled.div`\n  color: ${({ isActive }) =&gt; isActive ? 'green' : 'red'};\n`;\nconst MyComp = ({ isActive }} =&gt; (\n  &lt;Header isActive={isActive}&gt;HI&lt;\/Header&gt;\n)<\/code><\/pre>\n<p style=\"margin: 1em 0px;\">2019 \u5e74 emotion \u4e0b\u8f7d\u8d85\u8fc7 styled-components\uff0c\u4e8c\u8005\u4ecd\u8fdc\u8d85\u5176\u4ed6\u5e93\u3002<\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e94\u3001\u7f16\u8f91\u5668\u3001\u6784\u5efa\u3001\u6d4f\u89c8\u5668<\/h2>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">18. VS Code \u4e3b\u5bb0\u6587\u672c\u7f16\u8f91\u5668<\/h3>\n<p style=\"margin: 1em 0px;\">\u5f00\u6e90\u52a0\u63d2\u4ef6\u30022018 \u5e74 JS \u73b0\u72b6\u8c03\u67e5\uff1a<a class=\"url\" href=\"https:\/\/2018.stateofjs.com\/other-tools\/\" target=\"_blank\">https:\/\/2018.stateofjs.com\/other-tools\/<\/a>\u3002<\/p>\n<p style=\"margin: 1em 0px;\"><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2020\/06\/\u256c\u0432\u2568\u253c\u255c\u256a\u2550\u255d_20200623134443.jpg\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2992\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2020\/06\/\u256c\u0432\u2568\u253c\u255c\u256a\u2550\u255d_20200623134443.jpg\" alt=\"\u256c\u0432\u2568\u253c\u255c\u256a\u2550\u255d_20200623134443\" width=\"1080\" height=\"608\" \/><\/a><\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">19. Webpack 5 \u8fdb\u5165\u6d4b\u8bd5<\/h3>\n<p style=\"margin: 1em 0px;\">\u6301\u4e45\u7f13\u5b58\u63d0\u5347\u6784\u5efa\uff1b\u66f4\u597d\u7b97\u6cd5\u6539\u5584\u957f\u671f\u7f13\u5b58\uff1b\u6e05\u7406\u5185\u90e8\u6a21\u5f0f\u4e14\u5c3d\u91cf\u65e0 breaking change\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">20. Jest \u653e\u5f03 Flow\uff0c\u8f6c\u6295 TypeScript<\/h3>\n<p style=\"margin: 1em 0px;\">Facebook \u81ea\u5df1\u7684\u6d4b\u8bd5\u5e93\u6539\u6295 TS\uff0c\u8fdb\u4e00\u6b65\u8bf4\u660e TS \u5df2\u6210\u6807\u51c6\u9009\u62e9\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">21. Chrome \u7a33\u5b9a\u7248 72\u201378<\/h3>\n<p style=\"margin: 1em 0px;\">\u4e00\u5e74 7 \u4e2a\u7a33\u5b9a\u7248\uff0c\u8fd8\u6709 Beta 79\u3001dev 80\u3001canary 81\u3002\u7248\u672c\u53f2\uff1a<a class=\"url\" href=\"https:\/\/en.wikipedia.org\/wiki\/Google_Chrome_version_history?source=post_page-----1e7d07966d6c----------------------\" target=\"_blank\">https:\/\/en.wikipedia.org\/wiki\/Google_Chrome_version_history?source=post_page&#8212;&#8211;1e7d07966d6c&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/a>\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">22. Edge \u6539\u7528 Chromium<\/h3>\n<p style=\"margin: 1em 0px;\">\u4e3a\u8d62\u56de\u5f00\u53d1\u8005\uff0c\u5fae\u8f6f\u6362\u4e0a Chromium\uff0c2019 \u5e74\u4e2d\u8fdb\u5165 beta\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">23. Facebook \u53d1\u5e03 Hermes<\/h3>\n<p style=\"margin: 1em 0px;\">\u9762\u5411 Android \u7684 JS \u5f15\u64ce\uff0c\u7ed9 React Native \u63d0\u901f\u3002\u8bf4\u660e\u4e3a\u4e86\u5168\u5e73\u53f0\u6548\u7387\uff0c\u4ed6\u4eec\u613f\u610f\u6362\u5f15\u64ce\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">24. 2020 \u5e74\u7684\u9884\u6d4b<\/h3>\n<p style=\"margin: 1em 0px;\">\u539f\u6587\u5728\u6b64\u5904\u622a\u65ad\uff0c\u4ec5\u7559\u4e0b\u5f00\u4e86\u5934\u7684\u5217\u8868\u9879\u3002\u5b8c\u6574\u9884\u6d4b\u6761\u76ee\u5728\u6e90\u7ad9\u8bd1\u6587\u4e2d\u5df2\u4e0d\u53ef\u8fd8\u539f\uff0c\u6545\u4e0d\u5f3a\u884c\u8865\u5199\u3002<\/p>\n<blockquote style=\"display: block; font-size: 0.9em; border-left: 3px solid #4870ac; padding: 0.5em 1em; margin: 0px; background: #f6f8fa; color: #40464f;\">\n<p style=\"margin: 1em 0px;\"><strong style=\"color: #4870ac;\">\u4e00\u53e5\u8bdd\u603b\u7ed3\uff1a2019 \u5e74\u7684\u524d\u7aef\u753b\u50cf\u662f\uff1aReact+Hooks \u4ecd\u6700\u5927\u3001Vue3 \u548c Ivy \u5728\u6362\u4ee3\u3001TypeScript \u4e0e VS Code \u6210\u4e3a\u9ed8\u8ba4\u5f00\u53d1\u4f53\u9a8c\uff0cWasm\u3001Flutter\u3001JAMStack \u548c GraphQL \u5219\u5728\u62a2\u4e0b\u4e00\u6ce2\u5165\u53e3\u3002<\/strong><\/p>\n<\/blockquote>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u7aef\u5728\u751f\u4ea7\u91cc\u8d8a\u6765\u8d8a\u91cd\uff1aPC\u3001\u624b\u673a\u3001\u684c\u9762\u3001\u667a\u80fd\u624b\u8868\u90fd\u79bb\u4e0d\u5f00\u5b83\u3002\u672c\u6587\u56f4\u7ed5\u6846\u67b6\u3001\u8bed\u8a00\u3001\u5de5\u5177\u3001React\u3001Vue\uff0c\u56de\u987e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[105],"tags":[122],"_links":{"self":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/2991"}],"collection":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2991"}],"version-history":[{"count":3,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/2991\/revisions"}],"predecessor-version":[{"id":2995,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/2991\/revisions\/2995"}],"wp:attachment":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2991"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}