{"id":1777,"date":"2023-03-19T20:57:13","date_gmt":"2023-03-19T12:57:13","guid":{"rendered":"https:\/\/zhuxinyong.com\/?p=1777"},"modified":"2023-03-19T21:15:46","modified_gmt":"2023-03-19T13:15:46","slug":"qian-duan-hei-ban-bao-zhou-bao-di-8-qi","status":"publish","type":"post","link":"https:\/\/zhuxinyong.com\/?p=1777","title":{"rendered":"\u524d\u7aef\u9ed1\u677f\u62a5 &#8211; \u5468\u62a5\u7b2c 8 \u671f"},"content":{"rendered":"<h2><a id=\"%F0%9F%94%A5%E6%9C%AC%E5%91%A8%E6%9C%80%E7%83%AD\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>\ud83d\udd25 \u672c\u5468\u6700\u70ed<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2023\/03\/16792306510814.jpg\" alt=\"\" \/><\/p>\n<p>\ud83e\udd16 Transformers.js\uff1a\u5728\u6d4f\u89c8\u5668\u4e2d\u8fd0\u884c ML \u6a21\u578b\u2014\u2014Transformers \u662f\u4e00\u79cd\u673a\u5668\u5b66\u4e60\u6a21\u578b\uff0c\u901a\u5e38\u7528\u4e8e\u81ea\u7136\u8bed\u8a00\u6216\u89c6\u89c9\u5904\u7406\uff0c\u867d\u7136\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u8fd0\u884c\u6b64\u7c7b\u6a21\u578b\u5c1a\u5904\u4e8e\u8d77\u6b65\u9636\u6bb5\uff0c\u4f46 Transformers.js \u6253\u5f00\u4e86\u4e00\u4e9b ML \u6a21\u578b\u8fd9\u91cc\u6709\u4e00\u4e9b\u4ee4\u4eba\u5370\u8c61\u6df1\u523b\u7684\u6f14\u793a\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2023\/03\/16792308677578.jpg\" alt=\"\" \/><\/p>\n<p><a href=\"https:\/\/xenova.github.io\/transformers.js\/\" target=\"_blank\" rel=\"noopener\">https:\/\/xenova.github.io\/transformers.js\/<\/a><\/p>\n<p>\ud83c\udf89 \u5e86\u795d Electron \u8bde\u751f 10 \u5468\u5e74\u2014\u2014\u611f\u89c9 Electron \u65e0\u5904\u4e0d\u5728\uff08Slack\u3001Spotify\u3001VS Code \u7b49\uff09\uff0c\u6240\u4ee5\u5b83\u624d\u51fa\u73b0\u4e86\u5341\u5e74\u53ef\u80fd\u8ba9\u4eba\u611f\u5230\u60ca\u8bb6\u3002 Slack \u548c Electron \u5f00\u53d1\u4eba\u5458 Erick Zhao \u611f\u8c22 Electron \u7684\u5f00\u53d1\u4eba\u5458\u548c\u793e\u533a\uff0c\u5411\u6211\u4eec\u4ecb\u7ecd\u4e86\u4e00\u4e9b Electron \u76f8\u5173\u7684\u5386\u53f2\uff0c\u5e76\u5411\u6211\u4eec\u4fdd\u8bc1 Electron \u4ecd\u7136\u5f88\u5f3a\u5927\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2023\/03\/16792309132463.jpg\" alt=\"\" \/><\/p>\n<p><a href=\"https:\/\/www.electronjs.org\/blog\/10-years-of-electron\" target=\"_blank\" rel=\"noopener\">https:\/\/www.electronjs.org\/blog\/10-years-of-electron<\/a><\/p>\n<p>\u5ba3\u5e03 TypeScript 5.0 \u2014 \u8bf7\u6ce8\u610f\uff0cTypeScript \u4e0d\u9075\u5faa\u8bed\u4e49\u7248\u672c\u63a7\u5236\uff0c\u56e0\u6b64\u8fd9\u4e0e 4.9 \u4e00\u6837\u662f\u4e00\u4e2a\u201c\u4e3b\u8981\u201d\u7248\u672c\u2026\u2026\u4f46\u65e0\u8bba\u5982\u4f55 5.0 \u770b\u8d77\u6765\u5f88\u9177\u3002\u6b64\u7248\u672c\u7684\u7c7b\u578b\u5316 JavaScript \u8d85\u96c6\u5305\u542b\u88c5\u9970\u5668\u3001\u6539\u8fdb\u7684 ESM \u9879\u76ee\u5bf9 Node \u548c\u6346\u7ed1\u5668\u7684\u652f\u6301\u3001 const \u7c7b\u578b\u53c2\u6570\u7b49\u529f\u80fd\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2023\/03\/16792310598265.jpg\" alt=\"\" \/><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/typescript\/announcing-typescript-5-0\/\" target=\"_blank\" rel=\"noopener\">https:\/\/devblogs.microsoft.com\/typescript\/announcing-typescript-5-0\/<\/a><\/p>\n<p>Turbowatch\uff1a\u6587\u4ef6\u66f4\u6539\u68c0\u6d4b\u5668\u548c\u4efb\u52a1\u534f\u8c03\u5668\u2014\u2014\u4e0d\u4ec5\u5982\u6b64\uff0c\u5b83\u8fd8\u58f0\u79f0\u901f\u5ea6\u975e\u5e38\u5feb\uff0c\u201c\u5982\u679c\u4f60\u60f3\u8981\u7c7b\u4f3c Nodemon \u4f46\u529f\u80fd\u66f4\u5f3a\u5927\u7684\u4e1c\u897f\uff0c\u90a3\u4e48\u4f60\u6765\u5bf9\u5730\u65b9\u4e86\u3002\u201d\u8fd9\u770b\u8d77\u6765\u5f88\u6709\u524d\u9014\uff0c\u81ea\u8ff0\u6587\u4ef6\u4e2d\u5145\u6ee1\u4e86\u793a\u4f8b\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2023\/03\/16792311184547.jpg\" alt=\"\" \/><\/p>\n<p><a href=\"https:\/\/github.com\/gajus\/turbowatch\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/gajus\/turbowatch<\/a><\/p>\n<h2><a id=\"%F0%9F%93%9D%E6%96%87%E7%AB%A0%E6%95%99%E7%A8%8B\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>\ud83d\udcdd \u6587\u7ae0&amp;\u6559\u7a0b<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2023\/03\/16792311470144.jpg\" alt=\"\" \/><\/p>\n<p>Chrome 111 \u83b7\u5f97\u4e86 SPA \u7684\u201cView Transition\u201d\u529f\u80fd\u2014\u2014\u76ee\u524d\u53ea\u6709 Chrome \u652f\u6301 View Transition API\uff0c\u4f46\u5141\u8bb8\u5728\u5355\u9875\u5e94\u7528\u7a0b\u5e8f\u4e2d\u8f7b\u677e\u8fdb\u884c\u52a8\u753b\u9875\u9762\u8f6c\u6362\uff08\u6b64\u5904\u6f14\u793a\uff09\u3002\u5e78\u8fd0\u7684\u662f\uff0c\u5b83\u9002\u5408\u6e10\u8fdb\u5f0f\u589e\u5f3a\uff0c\u56e0\u6b64\u60a8\u53ef\u4ee5\u7acb\u5373\u5f00\u59cb\u4f7f\u7528\u5b83\u800c\u4e0d\u4f1a\u611f\u5230\u592a\u5185\u759a\uff1b-) \u591a\u9875\u5e94\u7528\u7a0b\u5e8f\u652f\u6301\u5373\u5c06\u63a8\u51fa\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2023\/03\/16792311776465.jpg\" alt=\"\" \/><\/p>\n<p><a href=\"https:\/\/developer.chrome.com\/blog\/spa-view-transitions-land\/\" target=\"_blank\" rel=\"noopener\">https:\/\/developer.chrome.com\/blog\/spa-view-transitions-land\/<\/a><\/p>\n<p>\u4f7f\u7528 JavaScript \u521b\u5efa\u548c\u4e0b\u8f7d\u6587\u672c\u6587\u4ef6 &#8211; \u5982\u679c\u60a8\u5e0c\u671b\u60a8\u7684\u4ee3\u7801\u80fd\u591f\u5373\u65f6\u751f\u6210\u6587\u672c\uff08\u4f8b\u5982 JSON\uff09\u6587\u4ef6\u5e76\u8ba9\u7528\u6237\u7684\u6d4f\u89c8\u5668\u4e0b\u8f7d\u5b83\uff0c\u8fd9\u76f8\u5f53\u5bb9\u6613\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2023\/03\/16792312005635.jpg\" alt=\"\" \/><\/p>\n<p><a href=\"https:\/\/www.amitmerchant.com\/create-and-download-text-files-using-javascript\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.amitmerchant.com\/create-and-download-text-files-using-javascript\/<\/a><\/p>\n<p>\u6211\u5728\u5f00\u59cb\u6211\u7684\u7b2c\u4e00\u4e2a React \u9879\u76ee\u65f6\u72af\u7684\u4e94\u4e2a\u9519\u8bef \u2014 Richard \u5206\u4eab\u4e86\u4ed6\u65e9\u671f\u7684 React \u9519\u8bef\uff0c\u5e0c\u671b\u4f60\u80fd\u4ece\u4ed6\u7684\u4e0d\u5e78\u4e2d\u5438\u53d6\u6559\u8bad\u3002\u4ed6\u5904\u7406\u8bf8\u5982\u4f7f\u7528 defaultProps \u3001 propTypes \u548c\u7c7b\u7ec4\u4ef6\u4e4b\u7c7b\u7684\u4e3b\u9898\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2023\/03\/16792312706515.jpg\" alt=\"\" \/><\/p>\n<p><a href=\"https:\/\/css-tricks.com\/5-mistakes-starting-react\/\" target=\"_blank\" rel=\"noopener\">https:\/\/css-tricks.com\/5-mistakes-starting-react\/<\/a><\/p>\n<h2><a id=\"%E2%9A%92%EF%B8%8F%E4%BB%A3%E7%A0%81%E5%B7%A5%E5%85%B7\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>\u2692\ufe0f \u4ee3\u7801&amp;\u5de5\u5177<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2023\/03\/16792313253353.jpg\" alt=\"\" \/><\/p>\n<p>\u6a21\u677f\uff1aWeb \u5e94\u7528\u7a0b\u5e8f\u7684\u7b80\u5355\u6846\u67b6\u2014\u2014\u4f5c\u8005\u4e3a\u81ea\u5df1\u7684\u9879\u76ee\u6784\u5efa\u4e86\u5b83\uff0c\u4f46\u6307\u51fa\uff1a\u201c\u5728\u5176\u4e2d\u5de5\u4f5c\u662f\u4e00\u79cd\u4e50\u8da3\uff0c\u611f\u89c9\u5f88\u201c\u6846\u67b6\u5316\u201d\uff0c\u4f46\u5b83\u53ea\u662f web \u6807\u51c6\uff0c\u5468\u56f4\u5305\u88f9\u7740 &lt;100 \u884c\u65b9\u4fbf\u7684 JS\u3002\u9664\u4e86\u6d4f\u89c8\u5668\u63d0\u4f9b\u7684\u529f\u80fd\u4e4b\u5916\uff0c\u6ca1\u6709\u4ec0\u4e48\u795e\u5947\u4e4b\u5904\u2014\u2014\u6211\u559c\u6b22\u8fd9\u6837\u3002\u201d\u6211\u4eec\u4e5f\u662f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2023\/03\/16792313476343.jpg\" alt=\"\" \/><\/p>\n<p><a href=\"https:\/\/github.com\/retrohacker\/template\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/retrohacker\/template<\/a><\/p>\n<p>React ProseMirror\uff1a\u5c06 ProseMirror \u7f16\u8f91\u5668\u4e0e React \u96c6\u6210 \u2014 ProseMirror \u662f\u4e00\u4e2a\u7528\u4e8e\u4e3a Web \u6784\u5efa\u5bcc\u6587\u672c\u7f16\u8f91\u5668\u7684\u5de5\u5177\u5305\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2023\/03\/16792313835293.jpg\" alt=\"\" \/><\/p>\n<p><a href=\"https:\/\/github.com\/nytimes\/react-prosemirror\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/nytimes\/react-prosemirror<\/a><\/p>\n<p>MiniSearch\uff1a\u7528\u4e8e\u6d4f\u89c8\u5668\u548c\u8282\u70b9\u7684\u5c0f\u578b\u5185\u5b58\u5168\u6587\u641c\u7d22\u5f15\u64ce\u2014\u2014\u4f18\u52bf\u5728\u4e8e\u7d22\u5f15\u6570\u636e\u5b58\u50a8\u5728\u672c\u5730\uff0c\u5141\u8bb8\u5b83\u79bb\u7ebf\u5de5\u4f5c\u5e76\u63d0\u4f9b\u826f\u597d\u7684\u6027\u80fd\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2023\/03\/16792314882405.jpg\" alt=\"\" \/><\/p>\n<p><a href=\"https:\/\/github.com\/lucaong\/minisearch\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/lucaong\/minisearch<\/a><\/p>\n<p>css-variable\uff1a\u7528\u4e8e\u5728 JS \u4e2d\u5b9a\u4e49 CSS \u81ea\u5b9a\u4e49\u5c5e\u6027\u7684\u5fae\u578b Treeshakable \u5e93\u2014\u2014\u517c\u5bb9\u6d41\u884c\u7684 CSS-in-JS \u5e93\uff0c\u5982 Emotion\u3001styled-components\u3001Linaria \u7b49\uff0c\u5b83\u62e5\u6709\u66f4\u597d\u7684 CSS \u538b\u7f29\u548c\u66f4\u5c0f\u7684\u865a\u62df DOM \u66f4\u65b0\u7b49\u7279\u5f81\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2023\/03\/16792315227472.jpg\" alt=\"\" \/><\/p>\n<p><a href=\"https:\/\/css-variable.js.org\/\" target=\"_blank\" rel=\"noopener\">https:\/\/css-variable.js.org\/<\/a><\/p>\n<p>Flexboard\uff1a\u7528\u4e8e\u53ef\u8c03\u6574\u5927\u5c0f\u7684\u4fa7\u8fb9\u680f\u7684 React \u7ec4\u4ef6\u5e93\u3002\u8be5\u4ee3\u7801\u5141\u8bb8\u60a8\u4e3a\u5e03\u5c40\u7684\u53ef\u8c03\u6574\u5927\u5c0f\u90e8\u5206\u8bbe\u7f6e\u6700\u5c0f\/\u6700\u5927\u5c3a\u5bf8\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2023\/03\/16792315874649.jpg\" alt=\"\" \/><\/p>\n<p><a href=\"https:\/\/github.com\/dorbus\/flexboard\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/dorbus\/flexboard<\/a><\/p>\n<h2><a id=\"%F0%9F%9A%80%E7%89%88%E6%9C%AC%E5%8F%91%E5%B8%83\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>\ud83d\ude80 \u7248\u672c\u53d1\u5e03<\/h2>\n<p>Fuite 2.0 \u5bcc\u72792.0<br \/>\n\u21b3 \u7528\u4e8e\u67e5\u627e Web \u5e94\u7528\u7a0b\u5e8f\u5185\u5b58\u6cc4\u6f0f\u7684\u5de5\u5177\u3002<\/p>\n<p>\ud83c\udfbc wavesurfer.js 6.6 \ud83c\udfbc wavesurfer.js 6.6<br \/>\n\u21b3 \u57fa\u4e8e\u7f51\u7edc\u97f3\u9891\u548c\u753b\u5e03\u6784\u5efa\u7684\u53ef\u5bfc\u822a\u6ce2\u5f62\u3002<\/p>\n<p>Svelte-Inview 4.0  Svelte-Inview 4.0<br \/>\n\u21b3 \u76d1\u89c6\u5143\u7d20\u4f55\u65f6\u8fdb\u5165\/\u79bb\u5f00\u89c6\u53e3\u7684 Svelte \u52a8\u4f5c\u3002<\/p>\n<p>Discord.js 14.8  Discord.js 14.8<br \/>\n\u21b3 \u4f7f\u7528 Discord \u804a\u5929 API \u7684\u5e93\u3002<\/p>\n<p>Plotly.js 2.20  Plotly.js 2.20<br \/>\n\u21b3 \u5f3a\u5927\u7684\u56fe\u8868\u5e93\u3002<\/p>\n<p>Recharts 2.5  \u56fe\u8868 2.5<br \/>\n\u21b3 React + D3 \u56fe\u8868\u5e93\u3002<\/p>\n<p>deepmerge 4.3.1 \u6df1\u5ea6\u5408\u5e76 4.3.1<br \/>\n\u21b3 \u5408\u5e76\u5bf9\u8c61\u7684\u53ef\u679a\u4e3e\u5c5e\u6027\u3002<\/p>\n<p>Vue Testing Library 7.0<br \/>\nVue \u6d4b\u8bd5\u5e93 7.0<\/p>\n<p>React Table Library 4.1<br \/>\n\u53cd\u5e94\u8868\u5e93 4.1<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udd25 \u672c\u5468\u6700\u70ed \ud83e\udd16 Transformers.js\uff1a\u5728\u6d4f\u89c8\u5668\u4e2d\u8fd0\u884c ML \u6a21\u578b\u2014\u2014Transforme&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,248,3],"tags":[247],"class_list":["post-1777","post","type-post","status-publish","format-standard","hentry","category-frontend","category-248","category-tech","tag-247"],"_links":{"self":[{"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=\/wp\/v2\/posts\/1777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1777"}],"version-history":[{"count":2,"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=\/wp\/v2\/posts\/1777\/revisions"}],"predecessor-version":[{"id":1779,"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=\/wp\/v2\/posts\/1777\/revisions\/1779"}],"wp:attachment":[{"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}