{"id":353,"date":"2024-11-08T17:40:50","date_gmt":"2024-11-08T09:40:50","guid":{"rendered":"https:\/\/www.linn.pro\/?p=353"},"modified":"2024-11-08T17:40:50","modified_gmt":"2024-11-08T09:40:50","slug":"react","status":"publish","type":"post","link":"https:\/\/www.linn.pro\/zh\/\u5f00\u53d1\u8005\/\u6846\u67b6\/353","title":{"rendered":"\u53cd\u5e94"},"content":{"rendered":"<p>React \u662f\u4e00\u4e2a\u7528\u4e8e\u6784\u5efa\u7528\u6237\u754c\u9762\u7684 JavaScript \u5e93\u3002<\/p>\n<ul>\n<li><strong class=\"dark:text-foreground\">\u58f0\u660e\u5f0f\uff1a<\/strong>\u00a0React \u53ef\u8ba9\u60a8\u8f7b\u677e\u521b\u5efa\u4ea4\u4e92\u5f0f\u7528\u6237\u754c\u9762\u3002\u4e3a\u5e94\u7528\u7a0b\u5e8f\u4e2d\u7684\u6bcf\u4e2a\u72b6\u6001\u8bbe\u8ba1\u7b80\u5355\u7684\u89c6\u56fe\uff0c\u5f53\u6570\u636e\u53d1\u751f\u53d8\u5316\u65f6\uff0cReact \u4f1a\u9ad8\u6548\u5730\u66f4\u65b0\u548c\u5448\u73b0\u6b63\u786e\u7684\u7ec4\u4ef6\u3002\u58f0\u660e\u5f0f\u89c6\u56fe\u4f7f\u60a8\u7684\u4ee3\u7801\u66f4\u53ef\u9884\u6d4b\u3001\u66f4\u6613\u4e8e\u7406\u89e3\u548c\u8c03\u8bd5\u3002<\/li>\n<li><strong class=\"dark:text-foreground\">\u57fa\u4e8e\u7ec4\u4ef6\uff1a<\/strong>\u00a0\u6784\u5efa\u53ef\u7ba1\u7406\u81ea\u8eab\u72b6\u6001\u7684\u5c01\u88c5\u7ec4\u4ef6\uff0c\u7136\u540e\u5c06\u5b83\u4eec\u7ec4\u5408\u6210\u590d\u6742\u7684\u7528\u6237\u754c\u9762\u3002\u7531\u4e8e\u7ec4\u4ef6\u903b\u8f91\u662f\u7528 JavaScript \u800c\u4e0d\u662f\u6a21\u677f\u7f16\u5199\u7684\uff0c\u56e0\u6b64\u60a8\u53ef\u4ee5\u8f7b\u677e\u5730\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u4f20\u9012\u4e30\u5bcc\u7684\u6570\u636e\uff0c\u5e76\u5c06\u72b6\u6001\u4fdd\u7559\u5728 DOM \u4e4b\u5916\u3002<\/li>\n<li><strong class=\"dark:text-foreground\">\u4e00\u6b21\u5b66\u4e60\uff0c\u968f\u5904\u5199\u4f5c\uff1a<\/strong>\u00a0\u6211\u4eec\u4e0d\u4f1a\u5bf9\u6280\u672f\u6808\u7684\u5176\u4ed6\u90e8\u5206\u505a\u51fa\u5047\u8bbe\uff0c\u56e0\u6b64\u60a8\u53ef\u4ee5\u4f7f\u7528 React \u5f00\u53d1\u65b0\u529f\u80fd\uff0c\u800c\u65e0\u9700\u91cd\u5199\u73b0\u6709\u4ee3\u7801\u3002React \u8fd8\u53ef\u4ee5\u4f7f\u7528\u00a0<a class=\"dark:text-foreground\" href=\"https:\/\/nodejs.org\/en\" target=\"_blank\" rel=\"noopener\">\u8282\u70b9<\/a>\u00a0\u5e76\u4f7f\u7528\u00a0<a class=\"dark:text-foreground\" href=\"https:\/\/reactnative.dev\/\" target=\"_blank\" rel=\"noopener\">React Native<\/a>.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>React is a JavaScript library for building user interfaces. Declarative:\u00a0React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes. Declarative views make your code more predictable, simpler to understand, and easier to debug. Component-Based:\u00a0Build encapsulated components that manage their own state, then compose them to make complex UIs. Since component logic is written in JavaScript instead of templates, you can easily pass rich data through your app and keep the state out of the DOM. Learn Once, Write Anywhere:\u00a0We don't make assumptions about the rest of your technology stack, so you can develop new features in React without...<\/p>","protected":false},"author":1,"featured_media":355,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[112],"tags":[170],"class_list":["post-353","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-framework","tag-react"],"_links":{"self":[{"href":"https:\/\/www.linn.pro\/zh\/wp-json\/wp\/v2\/posts\/353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linn.pro\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linn.pro\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linn.pro\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linn.pro\/zh\/wp-json\/wp\/v2\/comments?post=353"}],"version-history":[{"count":0,"href":"https:\/\/www.linn.pro\/zh\/wp-json\/wp\/v2\/posts\/353\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linn.pro\/zh\/wp-json\/wp\/v2\/media\/355"}],"wp:attachment":[{"href":"https:\/\/www.linn.pro\/zh\/wp-json\/wp\/v2\/media?parent=353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linn.pro\/zh\/wp-json\/wp\/v2\/categories?post=353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linn.pro\/zh\/wp-json\/wp\/v2\/tags?post=353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}