{"id":1022,"date":"2023-10-07T23:19:50","date_gmt":"2023-10-07T15:19:50","guid":{"rendered":"http:\/\/codermr.com\/?p=1022"},"modified":"2024-07-27T10:12:07","modified_gmt":"2024-07-27T02:12:07","slug":"react_study_note","status":"publish","type":"post","link":"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/","title":{"rendered":"React\u9879\u76ee\u5b66\u4e60\u7b14\u8bb0"},"content":{"rendered":"\n<p>\u524d\u7aef\u6280\u672f\u8fd110\u5e74\u771f\u662f\u65e5\u65b0\u6708\u5f02\uff0c\u6211\u521a\u5165\u884c\u65f6\u524d\u7aef\u8fd8\u53ea\u662f\u5199\u5199 HTML\u3001Js \uff0c \u90a3\u4e2a\u65f6\u5019\u6bd4\u8f83\u706b\u7684\u6846\u67b6\u662f JQuery\u3001bootstrap \uff0c\u4f46\u662f\u7a81\u7136\u6709\u4e24\u5e74\uff0c\u6211\u53d1\u73b0\u6211\u770b\u4e0d\u61c2\u524d\u7aef\u4ee3\u7801\u4e86\uff0c\u4ec0\u4e48 Regular\u3001nodeJs\u3001React\u3001Vue&#8230;.. \u542c\u524d\u7aef\u5f00\u53d1\u8bf4\u7684\u8fd9\u4e9b\u6982\u5ff5\uff0c\u6211\u542c\u90fd\u6ca1\u542c\u8fc7\uff0c\u518d\u770b\u524d\u7aef\u4ee3\u7801\u8ddf\u770b\u5929\u4e66\u4f3c\u7684&#8230;..<\/p>\n\n\n\n<p>2023\u5e746\u30017\u6708\u4efd\u6211\u5b66\u4e86\u4e00\u4e0b React \uff0c\u4e5f\u7167\u846b\u82a6\u753b\u74e2\u505a\u4e86\u4e00\u4e2a\u9879\u76ee\uff08\u8fd9\u4e2a\u9879\u76ee\u5e2e\u52a9\u6211\u7ba1\u7406\u6211\u7684\u5907\u5fd8\u548c\u7b14\u8bb0\uff0c\u540e\u7aef\u7528 Java \u5f00\u53d1\uff0c\u6709\u5b89\u5353\u7aef App \uff0c\u6211\u4f7f\u7528 React \u505a\u4e86\u4e2a\u524d\u7aef\u9879\u76ee\u65b9\u4fbf\u5728 PC \u4e0a\u7f16\u8f91\u6211\u7684\u5907\u5fd8\u548c\u7b14\u8bb0\uff09\uff0c\u4f46\u662f\u6709\u4e09\u56db\u4e2a\u6708\u6211\u6ca1\u518d\u78b0 React \u4e86\uff0c\u8fd9\u51e0\u5929\u53c8\u91cd\u65b0\u770b\u4e86\u4e0b React \uff0c\u53d1\u73b0\u4ee5\u524d\u5b66\u7684 React \u77e5\u8bc6\u51e0\u4e4e\u5168\u5fd8\u4e86\uff0c\u6211\u4e0d\u5f97\u4e0d\u91cd\u65b0\u770b\u4e00\u904d React \u57fa\u7840\u6559\u7a0b\uff0c\u518d\u6b21\u5b66\u4e60\u7684\u8fc7\u7a0b\u6211\u4e0d\u6b62\u4e00\u6b21\u518d\u60f3\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u524d\u7aef\u6709\u5fc5\u8981\u641e\u7684\u8fd9\u4e48\u590d\u6742\u5417\uff1f<br>\u4e0d\u5c31\u662f\u5199\u4e2a HTML \u548c Js \u5417\uff1f<br>\u771f\u7684\u6709\u5fc5\u8981\u641e\u8fd9\u4e48\u590d\u6742\u5417\uff1f\uff1f\uff1f\u4f9d\u8d56\u7ba1\u7406\u3001\u8def\u7531\u3001\u7c7b\u3001\u5bf9\u8c61&#8230; \u641e\u7684\u8ddf\u5199\u540e\u7aef\u4ee3\u7801\u4f3c\u7684&#8230; \u6211\u5199\u4e2a\u7b80\u5355\u7684\u9879\u76ee\uff0c\u51e0\u4e2a\u9875\u9762\uff0c\u4e0b\u8f7d\u7684\u4f9d\u8d56\u90fd\u5f97\u51e0\u767e M \uff0c\u6bd4\u4e00\u4e2a\u666e\u901a\u7684 Java \u9879\u76ee\u9700\u8981\u7684\u4f9d\u8d56\u90fd\u591a&#8230;. \u8ba9\u6211\u4e0d\u5f97\u4e0d\u6000\u7591\u524d\u7aef\u8fd9\u4e9b\u6846\u67b6\u548c\u6280\u672f\u300c\u8fc7\u5ea6\u8bbe\u8ba1\u300d\u4e86&#8230;&#8230;.<\/p>\n<\/blockquote>\n\n\n\n<p>\u6211\u601d\u8003\u7684\u7b54\u6848\u662f\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u7b80\u5355\u7684\u524d\u7aef\u9879\u76ee\u5f53\u7136\u4e0d\u9700\u8981\u8fd9\u4e48\u590d\u6742\uff0c\u76f4\u63a5 JQuery + HTML \u5c31\u641e\u5b9a\u4e86\uff0c\u4f46\u5bf9\u4e8e\u590d\u6742\u7684\u5927\u578b\u524d\u7aef\u9879\u76ee\uff0cReact\u3001Vue \u8fd9\u4e9b\u6846\u67b6\u4f1a\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u5e76\u4e14\u6613\u4e8e\u7ef4\u62a4\u3002<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u8a00\u5f52\u6b63\u4f20\uff0c\u8fd8\u662f\u8bb0\u5f55\u4e00\u4e0b\u6700\u8fd1\u7684 React \u5b66\u4e60\u7b14\u8bb0\u5427\u3002<\/p>\n\n\n\n<p>01  \u4e00\u4e2a\u524d\u7aef\u9879\u76ee\uff0c\u5148\u4ece index.js \u5f00\u59cb\u770b\u8d77\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u7aef\u6280\u672f\u8fd110\u5e74\u771f\u662f\u65e5\u65b0\u6708\u5f02\uff0c\u6211\u521a\u5165\u884c\u65f6\u524d\u7aef\u8fd8\u53ea\u662f\u5199\u5199 HTML\u3001Js \uff0c \u90a3\u4e2a\u65f6\u5019\u6bd4\u8f83\u706b\u7684\u6846\u67b6\u662f JQuer&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1019,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>React\u9879\u76ee\u5b66\u4e60\u7b14\u8bb0 - \u7801\u5148\u751f\u7684\u535a\u5ba2<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"React\u9879\u76ee\u5b66\u4e60\u7b14\u8bb0 - \u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"og:description\" content=\"\u524d\u7aef\u6280\u672f\u8fd110\u5e74\u771f\u662f\u65e5\u65b0\u6708\u5f02\uff0c\u6211\u521a\u5165\u884c\u65f6\u524d\u7aef\u8fd8\u53ea\u662f\u5199\u5199 HTML\u3001Js \uff0c \u90a3\u4e2a\u65f6\u5019\u6bd4\u8f83\u706b\u7684\u6846\u67b6\u662f JQuer...\" \/>\n<meta property=\"og:url\" content=\"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/\" \/>\n<meta property=\"og:site_name\" content=\"\u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-07T15:19:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-27T02:12:07+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/codermr.com\/wp-content\/uploads\/2023\/07\/react-logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u7801\u5148\u751f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/mrcode2021\" \/>\n<meta name=\"twitter:site\" content=\"@mrcode2021\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u7801\u5148\u751f\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/\"},\"author\":{\"name\":\"\u7801\u5148\u751f\",\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"headline\":\"React\u9879\u76ee\u5b66\u4e60\u7b14\u8bb0\",\"datePublished\":\"2023-10-07T15:19:50+00:00\",\"dateModified\":\"2024-07-27T02:12:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/\"},\"wordCount\":29,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"articleSection\":[\"\u524d\u7aef\u6280\u672f\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/\",\"url\":\"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/\",\"name\":\"React\u9879\u76ee\u5b66\u4e60\u7b14\u8bb0 - \u7801\u5148\u751f\u7684\u535a\u5ba2\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/#website\"},\"datePublished\":\"2023-10-07T15:19:50+00:00\",\"dateModified\":\"2024-07-27T02:12:07+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/codermr.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"React\u9879\u76ee\u5b66\u4e60\u7b14\u8bb0\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/codermr.com\/#website\",\"url\":\"http:\/\/codermr.com\/\",\"name\":\"\u7801\u5148\u751f\u7684\u535a\u5ba2\",\"description\":\"\u6b22 \u8fce \u4e0b \u8f7d \u6211 \u5f00 \u53d1 \u7684 \u5404 \u7aef \u8f6f \u4ef6 \u548c APP\",\"publisher\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/codermr.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\",\"name\":\"\u7801\u5148\u751f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg\",\"contentUrl\":\"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg\",\"width\":400,\"height\":400,\"caption\":\"\u7801\u5148\u751f\"},\"logo\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/codermr.com\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/mrcode2021\"],\"url\":\"http:\/\/codermr.com\/index.php\/author\/coderma\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"React\u9879\u76ee\u5b66\u4e60\u7b14\u8bb0 - \u7801\u5148\u751f\u7684\u535a\u5ba2","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/","og_locale":"zh_CN","og_type":"article","og_title":"React\u9879\u76ee\u5b66\u4e60\u7b14\u8bb0 - \u7801\u5148\u751f\u7684\u535a\u5ba2","og_description":"\u524d\u7aef\u6280\u672f\u8fd110\u5e74\u771f\u662f\u65e5\u65b0\u6708\u5f02\uff0c\u6211\u521a\u5165\u884c\u65f6\u524d\u7aef\u8fd8\u53ea\u662f\u5199\u5199 HTML\u3001Js \uff0c \u90a3\u4e2a\u65f6\u5019\u6bd4\u8f83\u706b\u7684\u6846\u67b6\u662f JQuer...","og_url":"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/","og_site_name":"\u7801\u5148\u751f\u7684\u535a\u5ba2","article_published_time":"2023-10-07T15:19:50+00:00","article_modified_time":"2024-07-27T02:12:07+00:00","og_image":[{"width":900,"height":675,"url":"http:\/\/codermr.com\/wp-content\/uploads\/2023\/07\/react-logo.png","type":"image\/png"}],"author":"\u7801\u5148\u751f","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/mrcode2021","twitter_site":"@mrcode2021","twitter_misc":{"\u4f5c\u8005":"\u7801\u5148\u751f","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/#article","isPartOf":{"@id":"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/"},"author":{"name":"\u7801\u5148\u751f","@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"headline":"React\u9879\u76ee\u5b66\u4e60\u7b14\u8bb0","datePublished":"2023-10-07T15:19:50+00:00","dateModified":"2024-07-27T02:12:07+00:00","mainEntityOfPage":{"@id":"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/"},"wordCount":29,"commentCount":0,"publisher":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"articleSection":["\u524d\u7aef\u6280\u672f"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/","url":"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/","name":"React\u9879\u76ee\u5b66\u4e60\u7b14\u8bb0 - \u7801\u5148\u751f\u7684\u535a\u5ba2","isPartOf":{"@id":"http:\/\/codermr.com\/#website"},"datePublished":"2023-10-07T15:19:50+00:00","dateModified":"2024-07-27T02:12:07+00:00","breadcrumb":{"@id":"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/codermr.com\/index.php\/2023\/10\/07\/react_study_note\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/codermr.com\/"},{"@type":"ListItem","position":2,"name":"React\u9879\u76ee\u5b66\u4e60\u7b14\u8bb0"}]},{"@type":"WebSite","@id":"http:\/\/codermr.com\/#website","url":"http:\/\/codermr.com\/","name":"\u7801\u5148\u751f\u7684\u535a\u5ba2","description":"\u6b22 \u8fce \u4e0b \u8f7d \u6211 \u5f00 \u53d1 \u7684 \u5404 \u7aef \u8f6f \u4ef6 \u548c APP","publisher":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/codermr.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf","name":"\u7801\u5148\u751f","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/codermr.com\/#\/schema\/person\/image\/","url":"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg","contentUrl":"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg","width":400,"height":400,"caption":"\u7801\u5148\u751f"},"logo":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/codermr.com","https:\/\/twitter.com\/https:\/\/twitter.com\/mrcode2021"],"url":"http:\/\/codermr.com\/index.php\/author\/coderma\/"}]}},"_links":{"self":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1022"}],"collection":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/comments?post=1022"}],"version-history":[{"count":6,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1022\/revisions"}],"predecessor-version":[{"id":1075,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1022\/revisions\/1075"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/media\/1019"}],"wp:attachment":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/media?parent=1022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/categories?post=1022"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/tags?post=1022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}