{"id":2080,"date":"2021-06-21T11:44:51","date_gmt":"2021-06-21T11:44:51","guid":{"rendered":"https:\/\/lvboard.infostore.in.ua\/?p=2080"},"modified":"2021-06-21T11:44:51","modified_gmt":"2021-06-21T11:44:51","slug":"21-%d1%85%d0%be%d1%80%d0%be%d1%88%d0%b0%d1%8f-%d0%bf%d1%80%d0%b0%d0%ba%d1%82%d0%b8%d0%ba%d0%b0-%d0%b4%d0%bb%d1%8f-%d0%be%d1%87%d0%b5%d0%bd%d1%8c-%d1%85%d0%be%d1%80%d0%be%d1%88%d0%b8%d1%85-react-%d0%bf","status":"publish","type":"post","link":"https:\/\/lvboard.infostore.in.ua\/?p=2080","title":{"rendered":"21 \u0445\u043e\u0440\u043e\u0448\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430 \u0434\u043b\u044f \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u0438\u0445 React \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432"},"content":{"rendered":"\n<p>React \u043e\u0447\u0435\u043d\u044c \u043b\u043e\u044f\u043b\u0435\u043d \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0438 \u043a\u0430\u043a \u043c\u044b \u043f\u0438\u0448\u0435\u043c \u0438 \u043a\u0430\u043a \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0443\u0435\u043c \u0441\u0432\u043e\u0439 \u043a\u043e\u0434. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0437\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0447\u0438\u0441\u0442\u043e\u0442\u044b \u0438 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u043d\u0430\u0448\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043d\u0435\u0441\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u044b.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u2013 \u043e \u0441\u0430\u043c\u044b\u0445 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043d\u0430 React.<\/p>\n\n\n\n<h2>1. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 JSX-\u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u044f<\/h2>\n\n\n\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0431\u044b\u043b\u043e \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e. \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u044c\u044e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430&nbsp;<code>Navbar<\/code>&nbsp;\u2013 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u043e\u043f\u0441\u0430&nbsp;<code>showTitle<\/code>:<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>return (\n  &lt;Navbar showTitle={true} \/&gt;\n);<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>return(\n  &lt;Navbar showTitle \/&gt;  \n)<\/code>\n    <\/pre>\n\n\n\n<h2>2. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0442\u0435\u0440\u043d\u0430\u0440\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b<\/h2>\n\n\n\n<p>\u041e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0434\u043b\u044f \u0432\u044b\u0431\u043e\u0440\u0430 \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u043c\u0438 \u043f\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0443\u0441\u043b\u043e\u0432\u0438\u044e \u2013 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0440\u043e\u043b\u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>const { role } = user;\n\nif(role === ADMIN) {\n  return &lt;AdminUser \/&gt;\n}else{\n  return &lt;NormalUser \/&gt;\n}<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>const { role } = user;\n\nreturn role === ADMIN ? &lt;AdminUser \/&gt; : &lt;NormalUser \/&gt;<\/code>\n    <\/pre>\n\n\n\n<h2>3. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u044b\u0445 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u043e\u0432<\/h2>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0432\u044b\u0431\u043e\u0440 \u043c\u0435\u0436\u0434\u0443 \u0442\u0440\u0435\u043c\u044f \u0438 \u0431\u043e\u043b\u0435\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u043c\u0438, \u0442\u0435\u0440\u043d\u0430\u0440\u043d\u044b\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u044b \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043c\u043e\u0433\u0443\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043e\u0434 \u0431\u043e\u043b\u0435\u0435 \u0447\u0438\u0442\u0430\u0435\u043c\u044b\u043c \u2013 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0438\u0445 \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u0439.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>const {role} = user\n\nswitch(role){\n  case ADMIN:\n    return &lt;AdminUser \/&gt;\n  case EMPLOYEE:\n    return &lt;EmployeeUser \/&gt;\n  case USER:\n    return &lt;NormalUser \/&gt;\n}<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>const {role} = user\n\nconst components = {\n  ADMIN: AdminUser,\n  EMPLOYEE: EmployeeUser,\n  USER: NormalUser\n};\n\nconst Component = components[role];\n\nreturn &lt;Component \/&gt;;<\/code>\n    <\/pre>\n\n\n\n<h2>4. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u044b<\/h2>\n\n\n\n<p>\u041d\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438&nbsp;<code>div<\/code>&nbsp;\u0432\u043c\u0435\u0441\u0442\u043e&nbsp;<code>Fragment<\/code>. \u0417\u0430\u0447\u0435\u043c \u0432\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u043b\u0438\u0448\u043d\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u043c DOM?<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>return (\n  &lt;div&gt;\n     &lt;Component1 \/&gt;\n     &lt;Component2 \/&gt;\n     &lt;Component3 \/&gt;\n  &lt;\/div&gt;  \n)<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>return (\n  &lt;&gt;\n     &lt;Component1 \/&gt;\n     &lt;Component2 \/&gt;\n     &lt;Component3 \/&gt;\n  &lt;\/&gt;  \n)<\/code>\n    <\/pre>\n\n\n\n<h2>5. \u041d\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0439\u0442\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0432\u043d\u0443\u0442\u0440\u0438 \u0440\u0435\u043d\u0434\u0435\u0440\u0430<\/h2>\n\n\n\n<p>\u0421\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044c \u043d\u0435 \u0441\u043c\u0435\u0448\u0438\u0432\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u043a\u0443 \u0438 \u0440\u0435\u043d\u0434\u0435\u0440 \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>return (\n    &lt;button onClick={() =&gt; dispatch(ACTION_TO_SEND_DATA)}&gt;    \/\/ NOTICE HERE\n      This is a bad example \n    &lt;\/button&gt;  \n)<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>const submitData = () =&gt; dispatch(ACTION_TO_SEND_DATA)\n\nreturn (\n  &lt;button onClick={submitData}&gt;  \n    This is a good example \n  &lt;\/button&gt;  \n)<\/code>\n    <\/pre>\n\n\n\n<h2>6. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 Memo<\/h2>\n\n\n\n<p><code>React.PureComponent<\/code>&nbsp;\u0438&nbsp;<code>Memo<\/code>&nbsp;\u043c\u043e\u0433\u0443\u0442 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0432\u044b\u0441\u0438\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043d\u0435\u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u0430.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>import React, { useState } from \"react\";\n\nexport const TestMemo = () =&gt; {\n  const [userName, setUserName] = useState(\"faisal\");\n  const [count, setCount] = useState(0);\n  \n  const increment = () =&gt; setCount((count) =&gt; count + 1);\n  \n  return (\n    &lt;&gt;\n      &lt;ChildrenComponent userName={userName} \/&gt;\n      &lt;button onClick={increment}&gt; Increment &lt;\/button&gt;\n    &lt;\/&gt;\n  );\n};\n\nconst ChildrenComponent =({ userName }) =&gt; {\n  console.log(\"rendered\", userName);\n  return &lt;div&gt; {userName} &lt;\/div&gt;;\n};<\/code>\n    <\/pre>\n\n\n\n<p>\u0414\u043e\u0447\u0435\u0440\u043d\u0438\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0440\u0430\u0437, \u0442\u0430\u043a \u043a\u0430\u043a \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 count \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u043a \u043d\u0435\u043c\u0443 \u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f. \u0418 \u0442\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u043e\u043d \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u0442\u0441\u044f \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443.<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/miro.medium.com\/max\/700\/1*UC19Qvfj06VAy63lR8mOFg.png\n<\/div><\/figure>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<p>\u041e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e&nbsp;<code>ChildrenComponent<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>import React ,{useState} from \"react\";\n\nconst ChildrenComponent = React.memo(({userName}) =&gt; {\n    console.log('rendered')\n    return &lt;div&gt; {userName}&lt;\/div&gt;\n})<\/code>\n    <\/pre>\n\n\n\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043a\u043b\u0438\u043a\u043d\u0435\u0442 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443, \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043e\u0442\u0440\u0435\u043d\u0434\u0435\u0440\u0438\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438.<\/p>\n\n\n\n<h2>7. \u041f\u0435\u0440\u0435\u043d\u0435\u0441\u0438\u0442\u0435 CSS \u0432 JavaScript<\/h2>\n\n\n\n<p>\u041e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c CSS \u0441\u043b\u043e\u0436\u043d\u0435\u0435, \u0447\u0435\u043c JavaScript, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u0442\u044c\u0441\u044f.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>\/\/ CSS \u0444\u0430\u0439\u043b\n\n.body {\n  height: 10px;\n}\n\n\/\/ JSX\n\nreturn &lt;div className='body'&gt;\n   \n&lt;\/div&gt;<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>const bodyStyle = {\n  height: \"10px\"\n}\n\nreturn &lt;div style={bodyStyle}&gt;\n\n&lt;\/div&gt;<\/code>\n    <\/pre>\n\n\n\n<h2>8. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432<\/h2>\n\n\n\n<p>\u041e\u0434\u043d\u0430 \u0438\u0437 \u043d\u043e\u0432\u0435\u0439\u0448\u0438\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 JS \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u0432\u0430\u0448 \u043a\u043e\u0434 \u0431\u043e\u043b\u0435\u0435 \u0447\u0438\u0442\u0430\u0435\u043c\u044b\u043c.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>return (\n  &lt;&gt;\n    &lt;div&gt; {user.name} &lt;\/div&gt;\n    &lt;div&gt; {user.age} &lt;\/div&gt;\n    &lt;div&gt; {user.profession} &lt;\/div&gt;\n  &lt;\/&gt;  \n)<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>const { name, age, profession } = user;\n\nreturn (\n  &lt;&gt;\n    &lt;div&gt; {name} &lt;\/div&gt;\n    &lt;div&gt; {age} &lt;\/div&gt;\n    &lt;div&gt; {profession} &lt;\/div&gt;\n  &lt;\/&gt;  \n)<\/code>\n    <\/pre>\n\n\n\n<h2>9. \u0421\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0435 \u043f\u0440\u043e\u043f\u0441\u044b \u0431\u0435\u0437 \u0444\u0438\u0433\u0443\u0440\u043d\u044b\u0445 \u0441\u043a\u043e\u0431\u043e\u043a<\/h2>\n\n\n\n<p>\u041f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u043e\u0449\u0435, \u0447\u0435\u043c \u0432\u044b \u0434\u0443\u043c\u0430\u0435\u0442\u0435.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>return(\n  &lt;Navbar title={\"My Special App\"} \/&gt;\n)\n<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>return(\n  &lt;Navbar title=\"My Special App\" \/&gt;  \n)\n<\/code>\n    <\/pre>\n\n\n\n<h2>10. \u0423\u0434\u0430\u043b\u0438\u0442\u0435 JS \u0438\u0437 JSX<\/h2>\n\n\n\n<p>\u0423\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0435\u0441\u044c \u043a\u043e\u0434 JavaScript \u0438\u0437 JSX-\u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438, \u0435\u0441\u043b\u0438 \u043e\u043d \u043d\u0435 \u0441\u043b\u0443\u0436\u0438\u0442 \u043a\u0430\u043a\u043e\u0439-\u043b\u0438\u0431\u043e \u0446\u0435\u043b\u0438 \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u0430 \u0438\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438&nbsp;UI.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>return (\n  &lt;ul&gt;\n    {posts.map((post) =&gt; (\n      &lt;li onClick={event =&gt; {\n        console.log(event.target, 'clicked!'); \/\/ &lt;- THIS IS BAD\n        }} key={post.id}&gt;{post.title}\n      &lt;\/li&gt;\n    ))}\n  &lt;\/ul&gt;\n);<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>const onClickHandler = (event) =&gt; {\n   console.log(event.target, 'clicked!'); \n}\n\nreturn (\n  &lt;ul&gt;\n    {posts.map((post) =&gt; (\n      &lt;li onClick={onClickHandler} key={post.id}&gt; {post.title} &lt;\/li&gt;\n    ))}\n  &lt;\/ul&gt;\n);\n<\/code>\n    <\/pre>\n\n\n\n<h2>11. \u0421\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0435 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u044b<\/h2>\n\n\n\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0435 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u044b \u0432\u043c\u0435\u0441\u0442\u043e \u0433\u0440\u043e\u043c\u043e\u0437\u0434\u043a\u043e\u0439 \u043a\u043e\u043d\u043a\u0430\u0442\u0435\u043d\u0430\u0446\u0438\u0438 \u0441\u0442\u0440\u043e\u043a.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>const userDetails = user.name + \"'s profession is\" + user.proffession\n\nreturn (\n  &lt;div&gt; {userDetails} &lt;\/div&gt;  \n)\n<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>const userDetails = `${user.name}'s profession is ${user.proffession}`\n\nreturn (\n  &lt;div&gt; {userDetails} &lt;\/div&gt;  \n)\n<\/code>\n    <\/pre>\n\n\n\n<h2>12. \u041f\u043e\u0440\u044f\u0434\u043e\u043a \u0438\u043c\u043f\u043e\u0440\u0442\u043e\u0432<\/h2>\n\n\n\n<p>\u0421\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044c \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043e\u0434 \u0431\u043e\u043b\u0435\u0435 \u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>import React from 'react';\nimport ErrorImg from '..\/..\/assets\/images\/error.png';\nimport styled from 'styled-components\/native';\nimport colors from '..\/..\/styles\/colors';\nimport { PropTypes } from 'prop-types';<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<p>\u042d\u043c\u043f\u0438\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0430:<\/p>\n\n\n\n<ol><li>\u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 (build-in) \u043c\u043e\u0434\u0443\u043b\u0438;<\/li><li>\u0437\u0430\u0442\u0435\u043c \u0432\u043d\u0435\u0448\u043d\u0438\u0435;<\/li><li>\u0438 \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435.<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>import React from 'react';\n\nimport { PropTypes } from 'prop-types';\nimport styled from 'styled-components\/native';\n\nimport ErrorImg from '..\/..\/assets\/images\/error.png';\nimport colors from '..\/..\/styles\/colors';<\/code>\n    <\/pre>\n\n\n\n<h2>13. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043d\u0435\u044f\u0432\u043d\u044b\u0439 return<\/h2>\n\n\n\n<p>\u041d\u0435\u044f\u0432\u043d\u044b\u0439 \u0432\u043e\u0437\u0432\u0440\u0430\u0442 \u0434\u0435\u043b\u0430\u0435\u0442 \u0432\u0430\u0448\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438\u0437\u044f\u0449\u043d\u0435\u0435. \u041d\u043e \u043d\u0435 \u0437\u043b\u043e\u0443\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0439\u0442\u0435 \u044d\u0442\u043e\u0439 \u0444\u0438\u0447\u0435\u0439, \u043e\u043d\u0430 \u0443\u043c\u0435\u0441\u0442\u043d\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0445.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>const add = (a, b) =&gt; {\n  return a + b;\n}\n<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>const add = (a, b) =&gt; a + b;<\/code>\n    <\/pre>\n\n\n\n<h2>14. \u0418\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432<\/h2>\n\n\n\n<p>\u0412\u0441\u0435\u0433\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 PascalCase \u0434\u043b\u044f \u0438\u043c\u0435\u043d \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0438 camelCase \u2013 \u0434\u043b\u044f \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u043e\u0432.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>import reservationCard from '.\/ReservationCard';\n\nconst ReservationItem = &lt;ReservationCard \/&gt;;\n<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>import ReservationCard from '.\/ReservationCard';\n\nconst reservationItem = &lt;ReservationCard \/&gt;;<\/code>\n    <\/pre>\n\n\n\n<h2>15. \u0417\u0430\u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u043c\u0435\u043d\u0430 \u0441\u0432\u043e\u0439\u0441\u0442\u0432<\/h2>\n\n\n\n<p>\u041d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0437\u0430\u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u043c\u0435\u043d\u0430 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u043f\u0440\u043e\u043f\u0441\u043e\u0432, \u0434\u0440\u0443\u0433\u0438\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043a \u044d\u0442\u043e\u043c\u0443 \u043d\u0435 \u0433\u043e\u0442\u043e\u0432\u044b.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>&lt;MyComponent style=\"dark\" \/&gt;\n\n&lt;MyComponent className=\"dark\" \/&gt;<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>&lt;MyComponent variant=\"fancy\" \/&gt;<\/code>\n    <\/pre>\n\n\n\n<h2>16. \u041a\u0430\u0432\u044b\u0447\u043a\u0438<\/h2>\n\n\n\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0434\u0432\u043e\u0439\u043d\u044b\u0435 \u043a\u0430\u0432\u044b\u0447\u043a\u0438 \u0434\u043b\u044f \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 JSX \u0438 \u043e\u0434\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u2013 \u0434\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 JavaScript.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>&lt;Foo bar='bar' \/&gt;\n\n&lt;Foo style={{ left: \"20px\" }} \/&gt;<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>&lt;Foo bar=\"bar\" \/&gt;\n\n&lt;Foo style={{ left: '20px' }} \/&gt;<\/code>\n    <\/pre>\n\n\n\n<h2>17. \u0418\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u043f\u0441\u043e\u0432<\/h2>\n\n\n\n<p>\u0412\u0441\u0435\u0433\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 camelCase \u0434\u043b\u044f \u0438\u043c\u0435\u043d \u043f\u0440\u043e\u043f\u0441\u043e\u0432 \u0438\u043b\u0438 PascalCase, \u0435\u0441\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430 \u2013 \u044d\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0439 React-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>&lt;Component\n  UserName=\"hello\"\n  phone_number={12345678}\n\/&gt;\n<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>&lt;MyComponent\n  userName=\"hello\"\n  phoneNumber={12345678}\n  Component={SomeComponent}\n\/&gt;\n<\/code>\n    <\/pre>\n\n\n\n<h2>18. JSX \u0432 \u0441\u043a\u043e\u0431\u043a\u0430\u0445<\/h2>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u0448 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u043e\u0434\u043d\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443, \u0432\u0441\u0435\u0433\u0434\u0430 \u043e\u0431\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0439\u0442\u0435 \u0435\u0433\u043e \u0432 \u0441\u043a\u043e\u0431\u043a\u0438.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>return &lt;MyComponent variant=\"long\"&gt;\n           &lt;MyChild \/&gt;\n         &lt;\/MyComponent&gt;;\n<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>return (\n    &lt;MyComponent variant=\"long\"&gt;\n      &lt;MyChild \/&gt;\n    &lt;\/MyComponent&gt;\n);\n<\/code>\n    <\/pre>\n\n\n\n<h2>19. \u0421\u0430\u043c\u043e\u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0442\u0435\u0433\u0438<\/h2>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0448\u0435\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u043d\u0435\u0442 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0441\u0430\u043c\u043e\u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0442\u0435\u0433 \u0434\u043b\u044f \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u0438.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>&lt;SomeComponent variant=\"stuff\"&gt;&lt;\/SomeComponent&gt;<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>&lt;SomeComponent variant=\"stuff\" \/&gt;<\/code>\n    <\/pre>\n\n\n\n<h2>20. \u041f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u0432 \u0438\u043c\u0435\u043d\u0430\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432<\/h2>\n\n\n\n<p>\u041d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u0432 \u043b\u044e\u0431\u044b\u0445 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u0430\u0445.<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>const _onClickHandler = () =&gt; {\n  \/\/ do stuff\n}\n<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>const onClickHandler = () =&gt; {\n  \/\/ do stuff\n}\n<\/code>\n    <\/pre>\n\n\n\n<h2>21. \u0410\u0442\u0440\u0438\u0431\u0443\u0442 alt<\/h2>\n\n\n\n<p>\u0412\u0441\u0435\u0433\u0434\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0439\u0442\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 alt \u0434\u043b\u044f \u0442\u0435\u0433\u0438 img \u0438 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0432 \u043d\u0435\u043c \u0441\u043b\u043e\u0432\u0430 image \u0438 picture. \u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f \u0441\u043a\u0440\u0438\u043d\u0440\u0438\u0434\u0435\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438 \u0442\u0430\u043a \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u044e\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u0430\u043a \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u0437\u0430\u0447\u0435\u043c \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u044c\u0441\u044f?<\/p>\n\n\n\n<p><strong>\u041f\u043b\u043e\u0445\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>&lt;img src=\"hello.jpg\" \/&gt;\n\n&lt;img src=\"hello.jpg\" alt=\"Picture of me rowing a boat\" \/&gt;<\/code>\n    <\/pre>\n\n\n\n<p><strong>\u0425\u043e\u0440\u043e\u0448\u043e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">        <code>&lt;img src=\"hello.jpg\" alt=\"Me waving hello\" \/&gt;<\/code>\n    <\/pre>\n\n\n\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n\n\n\n<p>\u0412\u043e\u0442 \u0438 \u0432\u0441\u0435. \u041f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u044f\u0435\u043c, \u0435\u0441\u043b\u0438 \u0432\u044b \u0437\u0430\u0448\u043b\u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u043a\u043e! \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0432\u044b \u043a\u043e\u0435-\u0447\u0442\u043e \u0443\u0437\u043d\u0430\u043b\u0438 \u0438\u0437 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>React \u043e\u0447\u0435\u043d\u044c \u043b\u043e\u044f\u043b\u0435\u043d \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0438 \u043a\u0430\u043a \u043c\u044b \u043f\u0438\u0448\u0435\u043c \u0438 \u043a\u0430\u043a \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0443\u0435\u043c \u0441\u0432\u043e\u0439 \u043a\u043e\u0434. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0437\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0447\u0438\u0441\u0442\u043e\u0442\u044b \u0438 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u043d\u0430\u0448\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043d\u0435\u0441\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u044b.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[30],"tags":[65],"_links":{"self":[{"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/posts\/2080"}],"collection":[{"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2080"}],"version-history":[{"count":1,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/posts\/2080\/revisions"}],"predecessor-version":[{"id":2081,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/posts\/2080\/revisions\/2081"}],"wp:attachment":[{"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}