{"id":112337,"date":"2020-02-15T04:57:25","date_gmt":"2020-02-14T20:57:25","guid":{"rendered":"http:\/\/4563.org\/?p=112337"},"modified":"2020-02-15T04:57:25","modified_gmt":"2020-02-14T20:57:25","slug":"react-%e5%92%8c-vue-%e5%93%aa%e4%b8%aa%e6%9b%b4%e6%96%b0%e5%be%97%e6%85%a2%ef%bc%9f%e5%b0%b1%e7%ae%97%e6%9b%b4%e6%96%b0%e4%ba%86%e5%93%aa%e4%b8%aa-api-%e5%8f%98%e5%8a%a8%e6%9b%b4%e5%b0%91%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=112337","title":{"rendered":"react \u548c vue \u54ea\u4e2a\u66f4\u65b0\u5f97\u6162\uff1f\u5c31\u7b97\u66f4\u65b0\u4e86\u54ea\u4e2a api \u53d8\u52a8\u66f4\u5c11\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  react \u548c vue \u54ea\u4e2a\u66f4\u65b0\u5f97\u6162\uff1f\u5c31\u7b97\u66f4\u65b0\u4e86\u54ea\u4e2a api \u53d8\u52a8\u66f4\u5c11\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 51300520 <\/span>  <span><i><\/i> 57<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u60f3\u6311\u4e00\u4e2a\u5b66\uff0c\u5e74\u9f84\u5927\u4e86\uff0c\u8111\u5b50\u4e0d\u591f\u7528\u4e86\uff0c\u5b9e\u5728\u5403\u4e0d\u6d88\u90a3\u79cd\u5468\u671f\u6027\u77ed\u65f6\u95f4\u5185\u7248\u672c\u5927\u5347\u7ea7\u4e86\u3002 \u6211\u60f3\u95ee\u4e0b\u8fd9 2 \u4e2a\u6846\u67b6\u54ea\u4e2a\u5347\u7ea7\u5f97\u5c11\uff1f<\/p>\n<p>\u6216\u8005\u5c31\u7b97\u5347\u7ea7 API \u53d8\u52a8\u4e0d\u5927\u4e5f\u884c\u3002\u3002\u3002<\/p>\n<p>\u5982\u679c\u90fd\u65e0\u6cd5\u8fbe\u5230\u8981\u6c42\u6211\u8fd8\u662f\u8001\u8001\u5b9e\u5b9e\u56de\u53bb\u7528 JQUERY \u4e86\uff0c\u5e74\u9f84\u5927\u4e86\u6700\u6015\u6bcf\u6b21\u5347\u7ea7\u5c31\u50cf\u5b66\u6b21\u65b0\u8bed\u8a00\u90a3\u6837\u3002\u3002\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>9<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"271998\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Austaras <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             1. \u62b1\u7740\u8fd9\u79cd\u5fc3\u6001\u5b66\u524d\u7aef\u65e9\u665a\u4f1a\u6251\u8857\u7684\uff0c\u8d81\u65e9\u6539\u884c\u5427<br \/>2. React \u6709\u4ec0\u4e48 killer feature Vue \u8fdf\u65e9\u4f1a\u501f\u9274\u7684\uff0c\u6240\u4ee5\u5176\u5b9e\u6ca1\u5dee                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"271999\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : CEBBCAT <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u66f4\u65b0\u4e0d\u5c31\u597d\u4e86\u2026\u2026\uff1f\u4e3b\u9700\u8981\u7684\u662f\u90a3\u79cd\u63d0\u4f9b lts \u7684\u5e93\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"272000\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Pastsong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             jQuery \u633a\u597d\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"272001\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Mutoo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6700\u76ee\u524d\u6765\u8bf4 Vue \u8fd1\u671f\u8981\u53d1\u5e03 3.0\uff0c\u51c6\u5907\u8d85\u7ea7\u5927\u6539\u3002react \u76f8\u5e94\u7a33\u5b9a\uff0c\u524d\u6bb5\u65f6\u95f4 react hooks \u53d1\u5e03\uff0c\u4f46\u5b8c\u5168\u4e0d\u5f71\u54cd\u4e4b\u524d\u7684\u63a5\u53e3\uff0c\u5c5e\u4e8e\u65b0\u589e\u529f\u80fd\uff0c\u53e6\u5916 react \u6709\u5f88\u591a\u5e95\u5c42\u4f18\u5316\uff0c\u4e5f\u4e0d\u5f71\u54cd\u63a5\u53e3\u3002<\/p>\n<p>\u5b66\u4e60\u662f\u7ec8\u751f\u7684\uff0c\u4e0d\u8981\u56e0\u4e3a\u5e74\u9f84\u5927\u5c31\u505c\u6b62\uff0c\u53e6\u5916\u7ecf\u9a8c\u53ef\u4ee5\u63d0\u5347\u5b66\u4e60\u6548\u7387\uff0c\u6211\u6700\u8fd1\u4ece vue \u8f6c react\uff0c\u5f88\u591a\u4e1c\u897f\u662f\u76f8\u4f3c\u7684\uff08\u6bd5\u7adf vue \u4e00\u76f4\u5728\u6284 react \uff09\u3002<\/p>\n<p>\u5982\u679c\u4f60\u4e0d\u5b66\uff0c\u5230\u65f6\u5019\u4f18\u5316\u7684\u5c31\u4e0d\u662f\u6846\u67b6\u4e86\uff0c\u4f60\u4e5f\u4f1a\u88ab\u300c\u4f18\u5316\u300d\u6389\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"272002\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : orzorzorzorz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u662f\u89c9\u7740 ng \u5728\u8fd9\u65b9\u9762\u9664\u4e86 1 \u5230 2 \u4e0d\u884c\uff0c\u5176\u4ed6\u5927\u7248\u672c\u66f4\u65b0\u7684\u517c\u5bb9\u6027\u90fd\u505a\u5f97\u5341\u5206\u4e0d\u9519\uff0c7 \u5230 8 \u4e5f\u5c31\u51e0\u4e2a\u5c0f\u65f6\u7684\u5de5\u4f5c\u91cf\u3002\u4e4b\u524d\u7684\u5199\u6cd5\u80fd\u7528\uff0c\u53ea\u662f\u4f1a warning\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"272003\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : orzorzorzorz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             react \u4e3b\u8981\u662f\u751f\u6001\u4e0d\u662f\u5b98\u65b9\u7ef4\u62a4\uff0c\u4eca\u5929\u4e00\u4e2a\u660e\u5929\u4e00\u4e2a\uff0c\u8fd8\u5f97\u628a\u6628\u5929\u7684\u6362\u6210\u660e\u5929\u7684\u3002vue \u7684\u8def\u7531\u3001\u72b6\u6001\u7ba1\u7406\u8fd9\u4e9b\u662f\u5b98\u65b9\u7ba1\uff0c\u4f46\u56e0\u4e3a\u4eba\u591a\uff0c\u4f30\u8ba1\u4e5f\u4f1a\u5f80 react \u7684\u65b9\u5411\u9760\u3002\u4f46 angular \u5c31\u4e0d\u4e00\u6837\u4e86\uff0c\u5565\u90fd\u662f\u5b98\u65b9\u7ef4\u62a4\uff0c\u771f\u7684\u662f\u4e00\u628a\u68ad&#8230;\u4ee5\u524d\u6211\u4e5f\u770b\u4e0d\u8d77\u8fd9\u4e48\u5927\u800c\u4e14\u4e0d\u600e\u4e48\u80fd\u53d8\u52a8\u7684\u6846\u67b6\uff0c\u4f46\u6709\u4e00\u5929\u7a81\u7136\u60f3\u660e\u767d\u4e86:\u8fd9\u5c31\u662f\u6211\u60f3\u8981\u7684\u6478\u9c7c\u751f\u6d3b\u3002:doge                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"272004\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u4e0d\u66f4\u65b0\u5c31\u5b8c\u4e86<br \/>\u53c8\u4e0d\u662f\u4fee\u590d\u4ec0\u4e48\u81f4\u547d bug                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"272005\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : love <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u65e2\u7136\u8fd9\u6837\u5efa\u8bae vue \u5427\uff0creact \u8fd8\u662f\u8981\u96be\u4e00\u70b9<br \/>vue \u548c react \u90fd\u5728\u5927\u6539\u8f6c hooks\uff0c\u7136\u540e\u5e94\u8be5\u4f1a\u7a33\u5b9a\u5f88\u591a\u5e74,vue \u7248 hooks \u6709\u4e0d\u5c0f\u4f18\u70b9                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"272006\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : richzhu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             why not jQuery \uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>react \u548c vue \u54ea\u4e2a\u66f4\u65b0\u5f97&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/112337"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=112337"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/112337\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=112337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=112337"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=112337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}