{"id":329216,"date":"2022-02-07T15:01:29","date_gmt":"2022-02-07T15:01:29","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=329216"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=329216","title":{"rendered":"<span>\u041e \u0447\u0435\u043c \u0432\u0430\u043c \u043d\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443\u0442 \u043d\u0430 \u043a\u0443\u0440\u0441\u0430\u0445 \u043f\u043e \u0420\u0435\u0430\u043a\u0442\u0443. \u0412\u0440\u0435\u0434\u043d\u044b\u0435 \u0441\u043e\u0432\u0435\u0442\u044b, \u043a\u0430\u043a \u0441\u0442\u0430\u0442\u044c \u043d\u0435\u0437\u0430\u043c\u0435\u043d\u0438\u043c\u044b\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u0448\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434, \u0430 \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a \u0441\u0442\u0430\u0442\u044c \u0442\u0435\u043c, \u0431\u0435\u0437 \u043a\u043e\u0433\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435\u043c\u044b\u0441\u043b\u0438\u043c\u044b, \u0442\u043e \u044d\u0442\u043e\u0442 \u0442\u0435\u043a\u0441\u0442 \u0434\u043b\u044f \u0432\u0430\u0441. \u0417\u0430\u043e\u0434\u043d\u043e \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043f\u043e\u043c\u043e\u0447\u044c \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c \u043f\u043e\u0441\u0442\u0438\u0447\u044c \u0434\u0437\u0435\u043d \u0438 \u0434\u043e\u0441\u043a\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u0438\u0437\u0443\u0447\u0438\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442, \u043c\u0435\u043d\u044f \u0437\u043e\u0432\u0443\u0442\u00a0<a href=\"https:\/\/www.facebook.com\/my.kravets\" rel=\"noopener noreferrer nofollow\">\u041c\u0430\u043a\u0441 \u041a\u0440\u0430\u0432\u0435\u0446<\/a>, \u044f CEO IT-\u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Holyweb, \u0438 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f <s>\u0432\u0440\u0435\u0434\u043d\u044b\u043c\u0438<\/s> \u0441\u043e\u0432\u0435\u0442\u0430\u043c\u0438 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0441\u0442\u0430\u0442\u044c \u043d\u0435\u0437\u0430\u043c\u0435\u043d\u0438\u043c\u044b\u043c React-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c. \u041f\u043e\u0435\u0445\u0430\u043b\u0438!<\/p>\n<h2>\u0412\u043e\u043b\u0448\u0435\u0431\u043d\u044b\u0439 \u0441\u043f\u0440\u0435\u0434-\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u00a0<\/h2>\n<p>\u0412\u0430\u043c \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0437\u0430\u0434\u0430\u0447\u0443 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442, \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u041d\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043b\u0435\u0433\u0447\u0435 \u2014 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043a \u043e\u0431\u044a\u0435\u043a\u0442\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0445\u0440\u0430\u043d\u0438\u0442 \u0438\u043c\u044f \u0438 \u0444\u0430\u043c\u0438\u043b\u0438\u044e, \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u0445 \u043a \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044e:<\/p>\n<pre><code>export function Welcome({name, surname}) {   return (     &lt;div>       \u041f\u0440\u0438\u0432\u0435\u0442, {name} {surname}     &lt;\/div>   ) }<\/code><\/pre>\n<p>\u041d\u043e \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430, \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c, \u044d\u0442\u043e \u0445\u0435\u0434\u0435\u0440. \u0410 \u0437\u043d\u0430\u0447\u0438\u0442 \u2014 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b. \u041a\u0430\u043a \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u0442 \u043d\u043e\u0432\u0438\u0447\u043e\u043a? \u0421\u044f\u0434\u0435\u0442 \u0438 \u043c\u0435\u0442\u043e\u0434\u0438\u0447\u043d\u043e \u0440\u0430\u0441\u043f\u0438\u0448\u0435\u0442 \u0432\u0441\u0435 \u0432 \u043a\u043e\u0434\u0435 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044f:<\/p>\n<pre><code>export function Header({ user }) {   return (     &lt;div>       &lt;Welcome          name={user.name}         surname={user.surname}       \/>       &lt;div>         Some other code...       &lt;\/div>     &lt;\/div>   ); }<\/code><\/pre>\n<p>\u0412 \u0446\u0435\u043b\u043e\u043c \u2014 \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041d\u043e \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u0434 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u0442 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u043d\u043e\u0432\u0438\u0447\u043e\u043a, \u0432\u0435\u0434\u044c \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u043f\u0441\u043e\u0432 \u043f\u043e \u0434\u0440\u0435\u0432\u0443 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e! \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u0434\u0432\u0430, \u0430 \u0434\u0432\u0430 \u0434\u0435\u0441\u044f\u0442\u043a\u0430. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0435, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c?<\/p>\n<p>\u041b\u043e\u0432\u0438\u0442\u0435 \u043b\u0430\u0439\u0444\u0445\u0430\u043a:<\/p>\n<pre><code>export function Header({ user }) {   return (     &lt;div>       &lt;Welcome {...user}\/>       &lt;div>         Some other code...       &lt;\/div>     &lt;\/div>   ); }<\/code><\/pre>\n<p>\u041c\u0430\u0433\u0438\u044f \u0441\u043f\u0440\u0435\u0434-\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u2014 \u043a\u043e\u0434 \u0441\u0442\u0430\u043b \u043f\u0440\u043e\u0449\u0435, \u043a\u043e\u0440\u043e\u0447\u0435, \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440. \u0410 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u2014 \u043d\u0438\u043a\u0442\u043e, \u043a\u0440\u043e\u043c\u0435 \u0432\u0430\u0441, \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438 \u0431\u0435\u0433\u043b\u043e\u043c \u0432\u0437\u0433\u043b\u044f\u0434\u0435 \u043d\u0430 \u0445\u0435\u0434\u0435\u0440 \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u043b\u044f \u0438\u0437 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 user \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043d\u0443\u0436\u043d\u044b \u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0435 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f.\u00a0<\/p>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a\u0438\u043c \u043d\u0435\u0445\u0438\u0442\u0440\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0438 \u0432\u0440\u0435\u043c\u044f \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c, \u0438 +100 \u0432 \u0441\u043a\u0438\u043b\u043b \u00ab\u043d\u0435\u0437\u0430\u043c\u0435\u043d\u0438\u043c\u043e\u0441\u0442\u044c\u00bb \u0441\u0435\u0431\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u2014 \u043f\u0443\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u044e\u0442 \u043e\u0442 \u0432\u0430\u0441 \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f, \u0441\u0435\u0431\u0435 \u0434\u043e\u0440\u043e\u0436\u0435 \u0432\u044b\u0439\u0434\u0435\u0442!\u00a0<\/p>\n<h2>\u0422\u0435\u0445\u043d\u0438\u043a\u0430 Props Drilling\u00a0<\/h2>\n<p>\u0415\u0441\u043b\u0438 \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434, \u0431\u0435\u0441\u043f\u043e\u043a\u043e\u044f\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0431\u0438\u0437\u043d\u0435\u0441-\u043b\u043e\u0433\u0438\u043a\u0438, \u043c\u043e\u0436\u043d\u043e \u0434\u0430\u0436\u0435 \u043d\u0435 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u043a\u0430\u043a \u043f\u043e\u043f\u0430\u0434\u0435\u0448\u044c \u0432 \u043b\u043e\u0432\u0443\u0448\u043a\u0443.\u00a0<\/p>\n<p>\u041f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430: \u043f\u0438\u0448\u0435\u043c \u0441\u043e\u0441\u0442\u0430\u0432\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0432 \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0441\u0447\u0435\u0442\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u0422\u0438\u043f \u0441\u0447\u0435\u0442\u0430 \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0443\u0440\u043e\u0432\u043d\u0435, \u0430 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0435\u0442 \u0435\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0432 \u0433\u043b\u0443\u0431\u0438\u043d\u0435 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438. \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440, \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u2026<\/p>\n<pre><code>export const AccountType = createContext()  export function TopComponent() {   return (     &lt;AccountType.Provider value=\"credit\">       &lt;MiddleComponent \/>     &lt;\/AccountType.Provider>    ); }  export function MiddleComponent() {   return (     &lt;LowComponent \/>   ); }  export function LowComponent() {   return (     &lt;DeepComponent \/>   ); }  export function DeepComponent() {   const accountType = useContext(AccountType);    return (     &lt;span> {accountType} account&lt;\/span>   ); }<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u0432\u044b\u0448\u0435 \u2014 \u0432\u043e\u043f\u043b\u043e\u0449\u0435\u043d\u0438\u0435 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0433\u043e \u044d\u0433\u043e\u0438\u0437\u043c\u0430. \u0421\u0443\u0434\u0438\u0442\u0435 \u0441\u0430\u043c\u0438 \u2014 \u0432\u0430\u0448\u0435\u043c\u0443 \u043a\u043e\u043b\u043b\u0435\u0433\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f, \u0433\u0434\u0435 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0438\u0442\u0441\u044f, \u0438 \u0433\u0434\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f. \u0410 \u0432\u0441\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u044f \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0431\u0435\u0437 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f. \u0425\u043e\u0440\u043e\u0448\u043e, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u043d\u0443\u0436\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0432\u044b\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u0432 \u043e\u0434\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u0434\u0440\u0443\u0433 \u0437\u0430 \u0434\u0440\u0443\u0436\u043a\u043e\u0439, \u043d\u043e \u0433\u0434\u0435 \u0432\u044b \u0442\u0430\u043a\u043e\u0435 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0432\u0438\u0434\u0435\u043b\u0438?\u00a0<\/p>\n<p>\u041d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0442\u0435\u0445\u043d\u0438\u043a\u0430 Props Drilling \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0431\u044a\u044f\u0432\u0438\u0442\u0435 \u043d\u0443\u0436\u043d\u043e\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0432\u0435\u0440\u0445\u0443 \u0434\u0440\u0435\u0432\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0438 \u043c\u0435\u0442\u043e\u0434\u0438\u0447\u043d\u043e \u043f\u0440\u043e\u043a\u0438\u043d\u044c\u0442\u0435 \u0434\u043e \u043c\u0435\u0441\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<pre><code>export function TopComponent() {   const account = {     accountType: \"credit\"   }    return (       &lt;MiddleComponent account={account} \/>   ); }  export function MiddleComponent({account}) {   return (     &lt;LowComponent account={account} \/>   ); }  export function LowComponent({account}) {   return (     &lt;DeepComponent account={account}\/>   ); }  export function DeepComponent({account}) {    return (     &lt;span> {account.accountType} account&lt;\/span>   ); }<\/code><\/pre>\n<p>\u0411\u0438\u043d\u0433\u043e! \u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0440\u0430\u0437\u043d\u0435\u0441\u0435\u043d\u044b \u043f\u043e \u0440\u0430\u0437\u043d\u044b\u043c \u043f\u0430\u043f\u043a\u0430\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043d\u0438 \u043e\u0434\u0438\u043d \u043d\u0435 \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u0431\u0435\u0437 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0432\u0430\u0448\u0438\u0445 \u043a\u043e\u043b\u043b\u0435\u0433 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043f\u043e\u0438\u0441\u043a\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0438. \u0410 \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u0440\u043e\u0441\u0430\u0442\u044c \u0438 \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430 \u0441\u0430\u043c\u043e\u0442\u0435\u043a \u0438 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0438\u0441\u043a\u0440\u0435\u043d\u043d\u044e\u044e \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u043d\u043e\u0441\u0442\u044c \u0441\u043e\u0440\u0430\u0442\u043d\u0438\u043a\u043e\u0432 \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435, \u043c\u043e\u0436\u043d\u043e \u0433\u0434\u0435-\u0442\u043e \u0432 \u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435 \u0446\u0435\u043f\u043e\u0447\u043a\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u043e\u0431\u043d\u0443\u043b\u0438\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e:<\/p>\n<pre><code>\u2026 export function MiddleComponent({account}) {    account.accountType = null    return (     &lt;LowComponent account={account} \/>   ); } \u2026<\/code><\/pre>\n<h2>\u041f\u0440\u043e\u0441\u0442\u044b\u043c\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u043c\u0438 \u043d\u0438\u043a\u043e\u0433\u043e \u043d\u0435 \u0443\u0434\u0438\u0432\u0438\u0448\u044c  <\/h2>\n<p>\u041d\u0443 \u0432\u043e\u0442 \u0438 \u043f\u0440\u0438\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438: \u0433\u043e\u0442\u043e\u0432\u0438\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b \u0438 CVV \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0441\u043a\u0440\u044b\u0442\u044b \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438 \u043a\u043b\u0438\u043a\u0435\/\u0442\u0430\u043f\u0435 \u043f\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c\u0443 \u043f\u043e\u043b\u044e, \u0424\u0418\u041e \u2014 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0432 \u0432\u0438\u0434\u0435 \u00ab\u0438\u043c\u044f \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u043e \u0434\u043e \u043e\u0434\u043d\u043e\u0439 \u0431\u0443\u043a\u0432\u044b, \u0444\u0430\u043c\u0438\u043b\u0438\u044f \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e, \u0432\u0441\u0435 \u0437\u0430\u0433\u043b\u0430\u0432\u043d\u044b\u043c\u0438 \u0431\u0443\u043a\u0432\u0430\u043c\u0438\u00bb. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u043e\u043c\u0435\u0440\u0430 \u043a\u0430\u0440\u0442\u044b \u0438 CVV \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430.<\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0439\u0434\u0435\u043c \u043f\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u043c\u0443 \u043f\u0443\u0442\u0438, \u0430 \u043f\u043e\u0442\u043e\u043c \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c, \u0432 \u0447\u0435\u043c \u0431\u044b\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430. \u041d\u0430\u043f\u0438\u0448\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430<\/p>\n<pre><code>const copyToClipBoard = data => {   const textField = document.createElement('textarea')   textField.innerText = data   document.body.appendChild(textField)   textField.select()   document.execCommand('copy')   textField.remove()   alert('\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430') }<\/code><\/pre>\n<p>\u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0440\u0430\u0437\u0431\u0438\u0435\u043d\u0438\u0435 \u043d\u043e\u043c\u0435\u0440\u0430 \u043a\u0430\u0440\u0442\u044b \u043d\u0430 \u0433\u0440\u0443\u043f\u043f\u044b<\/p>\n<pre><code>const formatNumber = cardNumber => {   let cNumToStr = ''     let it = 0      String(cardNumber).split('').forEach((s) => {     if (it % 4 === 0) {       cNumToStr = cNumToStr + ' '     }     cNumToStr = cNumToStr + s     it++   })   return cNumToStr }<\/code><\/pre>\n<p>\u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b, \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u0432 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441\u043a\u0440\u044b\u0442\u0438\u044f \u043f\u0435\u0440\u0432\u044b\u0445 \u0442\u0440\u0435\u0445 \u0433\u0440\u0443\u043f\u043f \u0447\u0438\u0441\u0435\u043b \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445<\/p>\n<pre><code>export function CardNumberComponent({cardNumber}) {   const [isShow, setIsShow] = useState(false)      const toggle = () => {setIsShow(!isShow)}       const showNumber = isShow      ? formatNumber(cardNumber)     : \"\u2022\u2022\u2022\u2022 \" + formatNumber(cardNumber).substring(formatNumber(cardNumber).length - 4)    return (     &lt;div>       &lt;p>\u041d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b&lt;\/p>       &lt;div onClick={toggle}> {showNumber} &lt;\/div>       &lt;button onClick={() => copyToClipBoard(cardNumber)}>\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c&lt;\/button>     &lt;\/div>   ) }<\/code><\/pre>\n<p>\u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f \u0441 CVV<\/p>\n<pre><code>export function CardCVVComponent({cvv}) {   const [isShow, setIsShow] = useState(false)      const toggle = () => {setIsShow(!isShow)}     const showCVV = isShow     ? cvv     : \"\u2022\u2022\u2022\"        return (     &lt;div>       &lt;p>CVV&lt;\/p>       &lt;div onClick={toggle}> {showCVV} &lt;\/div>       &lt;button onClick={() => copyToClipBoard(cvv)}>\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c&lt;\/button>     &lt;\/div>   ) }<\/code><\/pre>\n<p>\u041d\u0430\u043f\u0438\u0448\u0435\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u0440\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043a\u0430\u0440\u0442\u044b<\/p>\n<pre><code>export function CardExpireComponent({expire}) {   return (     &lt;div>       &lt;p>\u0421\u0440\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f&lt;\/p>       {expire.year}\/{expire.month}     &lt;\/div>   ) }<\/code><\/pre>\n<p>\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430<\/p>\n<pre><code>export function CardUserNameComponent({user}) {   const userInfo = (user.name[0] + '. ' + user.surname).toUpperCase()    return (     &lt;div>       &lt;p>\u0412\u043b\u0430\u0434\u0435\u043b\u0435\u0446&lt;\/p>       &lt;div>{userInfo}&lt;\/div>       &lt;button onClick={() => copyToClipBoard(userInfo)}>\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c&lt;\/button>     &lt;\/div>   ) }<\/code><\/pre>\n<p>\u041d\u0443 \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043c \u0441\u043e\u0431\u0435\u0440\u0435\u043c \u0432\u0441\u0435 \u0432\u043c\u0435\u0441\u0442\u0435<\/p>\n<pre><code>export function CardComponent() {    return (     &lt;>       &lt;CardNumberComponent cardNumber={cardInfo.cardNumber}>&lt;\/CardNumberComponent>       &lt;CardExpireComponent expire={cardInfo.expire}>&lt;\/CardExpireComponent>       &lt;CardCVVComponent cvv={cardInfo.cvv}>&lt;\/CardCVVComponent>       &lt;CardUserNameComponent user={user}>&lt;\/CardUserNameComponent>     &lt;\/>   ) }<\/code><\/pre>\n<p>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0431\u0443\u0434\u0443\u0442 \u0441\u043b\u0443\u0436\u0438\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435 \u0438 \u043e\u0431\u044a\u0435\u043a\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043a\u0430\u0440\u0442\u0435<\/p>\n<pre><code>const user = {   name: 'Ivan',   surname: 'Ivanov', }  const cardInfo = {   cardNumber: \"1234567812345678\",   expire: {     year: 24,     month: 11   },   cvv: 123 }<\/code><\/pre>\n<p>\u041a\u0430\u043a \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0441\u044f \u2014 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435, \u0440\u0430\u0441\u043f\u0438\u0448\u0438\u0442\u0435\u0441\u044c. \u041d\u043e \u043f\u0440\u0438\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435\u0441\u044c \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0447\u0442\u043e \u043c\u044b \u043d\u0430\u043a\u043e\u0434\u0438\u043b\u0438 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435? \u041f\u0430\u0440\u0430 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432. \u0421\u0440\u0430\u043c\u043e\u0442\u0430, \u0434\u0430 \u0438 \u0442\u043e\u043b\u044c\u043a\u043e! \u042d\u0442\u0438\u043c \u043d\u0435 \u043f\u043e\u0445\u0432\u0430\u0441\u0442\u0430\u0435\u0448\u044c\u0441\u044f \u043f\u0435\u0440\u0435\u0434 \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c\u0438, \u0434\u0430 \u0438 \u043d\u0430\u0447\u0430\u043b\u044c\u0441\u0442\u0432\u0443 \u043d\u0435 \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0448\u044c, \u0447\u0442\u043e \u0437\u0430\u0434\u0430\u0447\u0430 \u0431\u044b\u043b\u0430 \u0442\u0440\u0443\u0434\u043d\u0430 \u0438 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0431\u044b \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c \u043e \u043f\u0440\u0435\u043c\u0438\u0438.\u00a0<\/p>\n<p>\u0412\u044b\u0445\u043e\u0434 \u2014 \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u0442\u044c \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043d\u0430\u0441 \u043f\u0440\u043e\u0441\u0438\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u043a\u0430\u0440\u0442\u0435. \u041e\u0434\u0438\u043d. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043c \u043d\u0430\u0448 \u043a\u043e\u0434.<\/p>\n<pre><code>export function CardComponent() {    const copyToClipBoard = data => {     const textField = document.createElement('textarea')     textField.innerText = data     document.body.appendChild(textField)     textField.select()     document.execCommand('copy')     textField.remove()     alert('\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430')   }       const [isShowNumber, setIsShowNumber] = useState(false)   const [isShow, setIsShow] = useState(false)   const toggleNumber = () => {setIsShowNumber(!isShowNumber)}    const toggleCVV = () => {setIsShow(!isShow)}    const userInfo = (user.name[0] + '. ' + user.surname).toUpperCase()   let cNumToStr = ''   let it = 0      String(cardInfo.cardNumber).split('').forEach((s) => {     if (it % 4 === 0) {       cNumToStr = cNumToStr + ' '     }     cNumToStr = cNumToStr + s     it++     return cNumToStr   })      const showNumber = isShowNumber      ? cNumToStr     : \"\u2022\u2022\u2022\u2022 \" + cNumToStr.substring(cNumToStr.length - 4)    const showCVV = isShow     ? cardInfo.cvv     : \"\u2022\u2022\u2022\"       return (     &lt;>       &lt;div>         &lt;p>\u041d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b&lt;\/p>         &lt;div onClick={toggleNumber}> {showNumber} &lt;\/div>         &lt;button onClick={() => copyToClipBoard(cardInfo.cardNumber)}>\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c&lt;\/button>       &lt;\/div>       &lt;div>         &lt;p>\u0421\u0440\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f&lt;\/p>         {cardInfo.expire.year}\/{cardInfo.expire.month}      &lt;\/div>      &lt;div>        &lt;p>CVV&lt;\/p>        &lt;div onClick={toggleCVV}> {showCVV} &lt;\/div>        &lt;button onClick={() => copyToClipBoard(cardInfo.cvv)}>\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c&lt;\/button>      &lt;\/div>      &lt;div>         &lt;p>\u0412\u043b\u0430\u0434\u0435\u043b\u0435\u0446&lt;\/p>         &lt;div>{userInfo}&lt;\/div>         &lt;button onClick={() => copyToClipBoard(userInfo)}>\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c&lt;\/button>     &lt;\/div>      &lt;\/>   ) }<\/code><\/pre>\n<p>\u0421\u043e\u0433\u043b\u0430\u0441\u0438\u0442\u0435\u0441\u044c, \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0441\u043e\u043b\u0438\u0434\u043d\u0435\u0435? \u041c\u0430\u043b\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0432\u0435\u0441\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u0442\u0430\u043a \u0435\u0449\u0435 \u0438 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u043c \u2014 \u043f\u0440\u043e\u0449\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0437\u0432\u0430\u0442\u044c \u0432\u0430\u0441, \u043a\u0430\u043a \u0430\u0432\u0442\u043e\u0440\u0430, \u0447\u0435\u043c \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0432 \u044d\u0442\u043e\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0435 \u043a \u0447\u0435\u043c\u0443 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f. \u0410 \u0437\u043d\u0430\u0447\u0438\u0442 \u2014 \u0441\u043c\u0435\u043b\u043e \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c +500 \u0432 \u0441\u043a\u0438\u043b\u043b \u00ab\u043d\u0435\u0437\u0430\u043c\u0435\u043d\u0438\u043c\u043e\u0441\u0442\u044c\u00bb.<\/p>\n<h2>\u0427\u0442\u043e \u0432 \u0438\u0442\u043e\u0433\u0435?<\/h2>\n<p>\u0420\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f, \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u0443 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0433\u043e \u043c\u0430\u0441\u0442\u0435\u0440\u0430 \u043c\u043d\u043e\u0433\u043e, \u0438 \u0432\u044b\u0448\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u0432\u0441\u0435. \u0418\u0449\u0438\u0442\u0435 \u0441\u0430\u043c\u0438, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0439\u0442\u0435 \u0441\u0432\u043e\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438. \u041d\u043e \u043f\u043e\u043c\u043d\u0438\u0442\u0435, \u0447\u0442\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u2014 \u043d\u0435 \u043f\u0435\u0440\u0435\u0433\u043d\u0443\u0442\u044c \u043f\u0430\u043b\u043a\u0443. \u0410 \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0442\u0430\u0442\u044c \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u0437\u0430\u043c\u0435\u043d\u0438\u043c\u044b\u043c, \u0447\u0442\u043e \u043d\u0438\u043a\u0442\u043e \u0438 \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0432\u0437\u044f\u0442\u044c \u043d\u0435 \u0440\u0438\u0441\u043a\u043d\u0435\u0442.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u044f, \u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u0438\u043b\u0438 \u043c\u043d\u0435 <a href=\"http:\/\/t.me\/maximkravec\" rel=\"noopener noreferrer nofollow\">\u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c<\/a>, \u0438 \u043c\u044b \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043c \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u0431\u043e\u0440\u043a\u0438 \u043d\u0435\u0437\u0430\u043c\u0435\u043d\u0438\u043c\u044b\u0445 \u0441\u043e\u0432\u0435\u0442\u043e\u0432 \u0434\u043b\u044f \u0440\u0435\u0430\u043a\u0442-\u043c\u0430\u0441\u0442\u0435\u0440\u043e\u0432 \ud83d\ude42\u00a0<\/p>\n<p><strong>\u0414\u0440\u0443\u0433\u0438\u0435 \u043d\u0430\u0448\u0438 \u0441\u0442\u0430\u0442\u044c\u0438:\u00a0<\/strong><\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/552600\/\" rel=\"noopener noreferrer nofollow\">Security \u0441 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u043e\u043c, \u0438\u043b\u0438 \u0435\u0449\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0432 \u043e \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0435 Singleton<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/554930\/\" rel=\"noopener noreferrer nofollow\">\u041a\u0430\u043a \u0432\u044b\u0434\u0430\u0442\u044c \u0417\u043e\u043b\u0443\u0448\u043a\u0443 \u0437\u0430 \u043f\u0440\u0438\u043d\u0446\u0430 \u0438 \u043d\u0435 \u0441\u043e\u0439\u0442\u0438 \u0441 \u0443\u043c\u0430. \u041f\u0430\u0442\u0442\u0435\u0440\u043d \u0414\u0435\u043a\u043e\u0440\u0430\u0442\u043e\u0440<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/560862\/\" rel=\"noopener noreferrer nofollow\"><u>\u041f\u043e\u0433\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u0432\u043e \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439 (DI), \u0438\u043b\u0438 \u043a\u0430\u043a \u0432\u0437\u043b\u043e\u043c\u0430\u0442\u044c \u041c\u0430\u0442\u0440\u0438\u0446\u0443<\/u><\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/570260\/\" rel=\"noopener noreferrer nofollow\">\u0425\u0430\u043c\u043c\u0435\u0440-\u0434\u0440\u043e\u043d\u044b, \u0438\u043b\u0438 \u0444\u0430\u0431\u0440\u0438\u0447\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0432 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0438<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/569688\/\" rel=\"noopener noreferrer nofollow\">\u041f\u0440\u0435\u043a\u0440\u0430\u0442\u0438\u0442\u0435 \u0438\u0437\u0443\u0447\u0430\u0442\u044c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a, \u0441\u0442\u0430\u043d\u044c\u0442\u0435 JavaScript-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/580336\/\" rel=\"noopener noreferrer nofollow\">DOM, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u043b Chrome. \u0418\u043b\u0438 \u043d\u0435 \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u043b? \u0418\u043b\u0438 \u043d\u0435 Chrome? \u0418\u043b\u0438 \u043d\u0435 DOM?<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/650131\/\"> https:\/\/habr.com\/ru\/post\/650131\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u0448\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434, \u0430 \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a \u0441\u0442\u0430\u0442\u044c \u0442\u0435\u043c, \u0431\u0435\u0437 \u043a\u043e\u0433\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435\u043c\u044b\u0441\u043b\u0438\u043c\u044b, \u0442\u043e \u044d\u0442\u043e\u0442 \u0442\u0435\u043a\u0441\u0442 \u0434\u043b\u044f \u0432\u0430\u0441. \u0417\u0430\u043e\u0434\u043d\u043e \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043f\u043e\u043c\u043e\u0447\u044c \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c \u043f\u043e\u0441\u0442\u0438\u0447\u044c \u0434\u0437\u0435\u043d \u0438 \u0434\u043e\u0441\u043a\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u0438\u0437\u0443\u0447\u0438\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442, \u043c\u0435\u043d\u044f \u0437\u043e\u0432\u0443\u0442\u00a0<a href=\"https:\/\/www.facebook.com\/my.kravets\" rel=\"noopener noreferrer nofollow\">\u041c\u0430\u043a\u0441 \u041a\u0440\u0430\u0432\u0435\u0446<\/a>, \u044f CEO IT-\u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Holyweb, \u0438 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f <s>\u0432\u0440\u0435\u0434\u043d\u044b\u043c\u0438<\/s> \u0441\u043e\u0432\u0435\u0442\u0430\u043c\u0438 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0441\u0442\u0430\u0442\u044c \u043d\u0435\u0437\u0430\u043c\u0435\u043d\u0438\u043c\u044b\u043c React-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c. \u041f\u043e\u0435\u0445\u0430\u043b\u0438!<\/p>\n<h2>\u0412\u043e\u043b\u0448\u0435\u0431\u043d\u044b\u0439 \u0441\u043f\u0440\u0435\u0434-\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u00a0<\/h2>\n<p>\u0412\u0430\u043c \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0437\u0430\u0434\u0430\u0447\u0443 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442, \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u041d\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043b\u0435\u0433\u0447\u0435 \u2014 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043a \u043e\u0431\u044a\u0435\u043a\u0442\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0445\u0440\u0430\u043d\u0438\u0442 \u0438\u043c\u044f \u0438 \u0444\u0430\u043c\u0438\u043b\u0438\u044e, \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u0445 \u043a \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044e:<\/p>\n<pre><code>export function Welcome({name, surname}) {   return (     &lt;div>       \u041f\u0440\u0438\u0432\u0435\u0442, {name} {surname}     &lt;\/div>   ) }<\/code><\/pre>\n<p>\u041d\u043e \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430, \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c, \u044d\u0442\u043e \u0445\u0435\u0434\u0435\u0440. \u0410 \u0437\u043d\u0430\u0447\u0438\u0442 \u2014 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b. \u041a\u0430\u043a \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u0442 \u043d\u043e\u0432\u0438\u0447\u043e\u043a? \u0421\u044f\u0434\u0435\u0442 \u0438 \u043c\u0435\u0442\u043e\u0434\u0438\u0447\u043d\u043e \u0440\u0430\u0441\u043f\u0438\u0448\u0435\u0442 \u0432\u0441\u0435 \u0432 \u043a\u043e\u0434\u0435 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044f:<\/p>\n<pre><code>export function Header({ user }) {   return (     &lt;div>       &lt;Welcome          name={user.name}         surname={user.surname}       \/>       &lt;div>         Some other code...       &lt;\/div>     &lt;\/div>   ); }<\/code><\/pre>\n<p>\u0412 \u0446\u0435\u043b\u043e\u043c \u2014 \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041d\u043e \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u0434 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u0442 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u043d\u043e\u0432\u0438\u0447\u043e\u043a, \u0432\u0435\u0434\u044c \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u043f\u0441\u043e\u0432 \u043f\u043e \u0434\u0440\u0435\u0432\u0443 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e! \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u0434\u0432\u0430, \u0430 \u0434\u0432\u0430 \u0434\u0435\u0441\u044f\u0442\u043a\u0430. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0435, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c?<\/p>\n<p>\u041b\u043e\u0432\u0438\u0442\u0435 \u043b\u0430\u0439\u0444\u0445\u0430\u043a:<\/p>\n<pre><code>export function Header({ user }) {   return (     &lt;div>       &lt;Welcome {...user}\/>       &lt;div>         Some other code...       &lt;\/div>     &lt;\/div>   ); }<\/code><\/pre>\n<p>\u041c\u0430\u0433\u0438\u044f \u0441\u043f\u0440\u0435\u0434-\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u2014 \u043a\u043e\u0434 \u0441\u0442\u0430\u043b \u043f\u0440\u043e\u0449\u0435, \u043a\u043e\u0440\u043e\u0447\u0435, \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440. \u0410 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u2014 \u043d\u0438\u043a\u0442\u043e, \u043a\u0440\u043e\u043c\u0435 \u0432\u0430\u0441, \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438 \u0431\u0435\u0433\u043b\u043e\u043c \u0432\u0437\u0433\u043b\u044f\u0434\u0435 \u043d\u0430 \u0445\u0435\u0434\u0435\u0440 \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u043b\u044f \u0438\u0437 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 user \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043d\u0443\u0436\u043d\u044b \u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0435 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f.\u00a0<\/p>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a\u0438\u043c \u043d\u0435\u0445\u0438\u0442\u0440\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0438 \u0432\u0440\u0435\u043c\u044f \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c, \u0438 +100 \u0432 \u0441\u043a\u0438\u043b\u043b \u00ab\u043d\u0435\u0437\u0430\u043c\u0435\u043d\u0438\u043c\u043e\u0441\u0442\u044c\u00bb \u0441\u0435\u0431\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u2014 \u043f\u0443\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u044e\u0442 \u043e\u0442 \u0432\u0430\u0441 \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f, \u0441\u0435\u0431\u0435 \u0434\u043e\u0440\u043e\u0436\u0435 \u0432\u044b\u0439\u0434\u0435\u0442!\u00a0<\/p>\n<h2>\u0422\u0435\u0445\u043d\u0438\u043a\u0430 Props Drilling\u00a0<\/h2>\n<p>\u0415\u0441\u043b\u0438 \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434, \u0431\u0435\u0441\u043f\u043e\u043a\u043e\u044f\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0431\u0438\u0437\u043d\u0435\u0441-\u043b\u043e\u0433\u0438\u043a\u0438, \u043c\u043e\u0436\u043d\u043e \u0434\u0430\u0436\u0435 \u043d\u0435 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u043a\u0430\u043a \u043f\u043e\u043f\u0430\u0434\u0435\u0448\u044c \u0432 \u043b\u043e\u0432\u0443\u0448\u043a\u0443.\u00a0<\/p>\n<p>\u041f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430: \u043f\u0438\u0448\u0435\u043c \u0441\u043e\u0441\u0442\u0430\u0432\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0432 \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0441\u0447\u0435\u0442\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u0422\u0438\u043f \u0441\u0447\u0435\u0442\u0430 \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0443\u0440\u043e\u0432\u043d\u0435, \u0430 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0435\u0442 \u0435\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0432 \u0433\u043b\u0443\u0431\u0438\u043d\u0435 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438. \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440, \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u2026<\/p>\n<pre><code>export const AccountType = createContext()  export function TopComponent() {   return (     &lt;AccountType.Provider value=\"credit\">       &lt;MiddleComponent \/>     &lt;\/AccountType.Provider>    ); }  export function MiddleComponent() {   return (     &lt;LowComponent \/>   ); }  export function LowComponent() {   return (     &lt;DeepComponent \/>   ); }  export function DeepComponent() {   const accountType = useContext(AccountType);    return (     &lt;span> {accountType} account&lt;\/span>   ); }<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u0432\u044b\u0448\u0435 \u2014 \u0432\u043e\u043f\u043b\u043e\u0449\u0435\u043d\u0438\u0435 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0433\u043e \u044d\u0433\u043e\u0438\u0437\u043c\u0430. \u0421\u0443\u0434\u0438\u0442\u0435 \u0441\u0430\u043c\u0438 \u2014 \u0432\u0430\u0448\u0435\u043c\u0443 \u043a\u043e\u043b\u043b\u0435\u0433\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f, \u0433\u0434\u0435 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0438\u0442\u0441\u044f, \u0438 \u0433\u0434\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f. \u0410 \u0432\u0441\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u044f \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0431\u0435\u0437 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f. \u0425\u043e\u0440\u043e\u0448\u043e, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u043d\u0443\u0436\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0432\u044b\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u0432 \u043e\u0434\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u0434\u0440\u0443\u0433 \u0437\u0430 \u0434\u0440\u0443\u0436\u043a\u043e\u0439, \u043d\u043e \u0433\u0434\u0435 \u0432\u044b \u0442\u0430\u043a\u043e\u0435 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0432\u0438\u0434\u0435\u043b\u0438?\u00a0<\/p>\n<p>\u041d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0442\u0435\u0445\u043d\u0438\u043a\u0430 Props Drilling \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0431\u044a\u044f\u0432\u0438\u0442\u0435 \u043d\u0443\u0436\u043d\u043e\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0432\u0435\u0440\u0445\u0443 \u0434\u0440\u0435\u0432\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0438 \u043c\u0435\u0442\u043e\u0434\u0438\u0447\u043d\u043e \u043f\u0440\u043e\u043a\u0438\u043d\u044c\u0442\u0435 \u0434\u043e \u043c\u0435\u0441\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<pre><code>export function TopComponent() {   const account = {     accountType: \"credit\"   }    return (       &lt;MiddleComponent account={account} \/>   ); }  export function MiddleComponent({account}) {   return (     &lt;LowComponent account={account} \/>   ); }  export function LowComponent({account}) {   return (     &lt;DeepComponent account={account}\/>   ); }  export function DeepComponent({account}) {    return (     &lt;span> {account.accountType} account&lt;\/span>   ); }<\/code><\/pre>\n<p>\u0411\u0438\u043d\u0433\u043e! \u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0440\u0430\u0437\u043d\u0435\u0441\u0435\u043d\u044b \u043f\u043e \u0440\u0430\u0437\u043d\u044b\u043c \u043f\u0430\u043f\u043a\u0430\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043d\u0438 \u043e\u0434\u0438\u043d \u043d\u0435 \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u0431\u0435\u0437 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0432\u0430\u0448\u0438\u0445 \u043a\u043e\u043b\u043b\u0435\u0433 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043f\u043e\u0438\u0441\u043a\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0438. \u0410 \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u0440\u043e\u0441\u0430\u0442\u044c \u0438 \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430 \u0441\u0430\u043c\u043e\u0442\u0435\u043a \u0438 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0438\u0441\u043a\u0440\u0435\u043d\u043d\u044e\u044e \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u043d\u043e\u0441\u0442\u044c \u0441\u043e\u0440\u0430\u0442\u043d\u0438\u043a\u043e\u0432 \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435, \u043c\u043e\u0436\u043d\u043e \u0433\u0434\u0435-\u0442\u043e \u0432 \u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435 \u0446\u0435\u043f\u043e\u0447\u043a\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u043e\u0431\u043d\u0443\u043b\u0438\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e:<\/p>\n<pre><code>\u2026 export function MiddleComponent({account}) {    account.accountType = null    return (     &lt;LowComponent account={account} \/>   ); } \u2026<\/code><\/pre>\n<h2>\u041f\u0440\u043e\u0441\u0442\u044b\u043c\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u043c\u0438 \u043d\u0438\u043a\u043e\u0433\u043e \u043d\u0435 \u0443\u0434\u0438\u0432\u0438\u0448\u044c  <\/h2>\n<p>\u041d\u0443 \u0432\u043e\u0442 \u0438 \u043f\u0440\u0438\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438: \u0433\u043e\u0442\u043e\u0432\u0438\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b \u0438 CVV \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0441\u043a\u0440\u044b\u0442\u044b \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438 \u043a\u043b\u0438\u043a\u0435\/\u0442\u0430\u043f\u0435 \u043f\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c\u0443 \u043f\u043e\u043b\u044e, \u0424\u0418\u041e \u2014 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0432 \u0432\u0438\u0434\u0435 \u00ab\u0438\u043c\u044f \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u043e \u0434\u043e \u043e\u0434\u043d\u043e\u0439 \u0431\u0443\u043a\u0432\u044b, \u0444\u0430\u043c\u0438\u043b\u0438\u044f \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e, \u0432\u0441\u0435 \u0437\u0430\u0433\u043b\u0430\u0432\u043d\u044b\u043c\u0438 \u0431\u0443\u043a\u0432\u0430\u043c\u0438\u00bb. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u043e\u043c\u0435\u0440\u0430 \u043a\u0430\u0440\u0442\u044b \u0438 CVV \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430.<\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0439\u0434\u0435\u043c \u043f\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u043c\u0443 \u043f\u0443\u0442\u0438, \u0430 \u043f\u043e\u0442\u043e\u043c \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c, \u0432 \u0447\u0435\u043c \u0431\u044b\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430. \u041d\u0430\u043f\u0438\u0448\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430<\/p>\n<pre><code>const copyToClipBoard = data => {   const textField = document.createElement('textarea')   textField.innerText = data   document.body.appendChild(textField)   textField.select()   document.execCommand('copy')   textField.remove()   alert('\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430') }<\/code><\/pre>\n<p>\u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0440\u0430\u0437\u0431\u0438\u0435\u043d\u0438\u0435 \u043d\u043e\u043c\u0435\u0440\u0430 \u043a\u0430\u0440\u0442\u044b \u043d\u0430 \u0433\u0440\u0443\u043f\u043f\u044b<\/p>\n<pre><code>const formatNumber = cardNumber => {   let cNumToStr = ''     let it = 0      String(cardNumber).split('').forEach((s) => {     if (it % 4 === 0) {       cNumToStr = cNumToStr + ' '     }     cNumToStr = cNumToStr + s     it++   })   return cNumToStr }<\/code><\/pre>\n<p>\u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b, \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u0432 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441\u043a\u0440\u044b\u0442\u0438\u044f \u043f\u0435\u0440\u0432\u044b\u0445 \u0442\u0440\u0435\u0445 \u0433\u0440\u0443\u043f\u043f \u0447\u0438\u0441\u0435\u043b \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445<\/p>\n<pre><code>export function CardNumberComponent({cardNumber}) {   const [isShow, setIsShow] = useState(false)      const toggle = () => {setIsShow(!isShow)}       const showNumber = isShow      ? formatNumber(cardNumber)     : \"\u2022\u2022\u2022\u2022 \" + formatNumber(cardNumber).substring(formatNumber(cardNumber).length - 4)    return (     &lt;div>       &lt;p>\u041d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b&lt;\/p>       &lt;div onClick={toggle}> {showNumber} &lt;\/div>       &lt;button onClick={() => copyToClipBoard(cardNumber)}>\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c&lt;\/button>     &lt;\/div>   ) }<\/code><\/pre>\n<p>\u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f \u0441 CVV<\/p>\n<pre><code>export function CardCVVComponent({cvv}) {   const [isShow, setIsShow] = useState(false)      const toggle = () => {setIsShow(!isShow)}     const showCVV = isShow     ? cvv     : \"\u2022\u2022\u2022\"        return (     &lt;div>       &lt;p>CVV&lt;\/p>       &lt;div onClick={toggle}> {showCVV} &lt;\/div>       &lt;button onClick={() => copyToClipBoard(cvv)}>\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c&lt;\/button>     &lt;\/div>   ) }<\/code><\/pre>\n<p>\u041d\u0430\u043f\u0438\u0448\u0435\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u0440\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043a\u0430\u0440\u0442\u044b<\/p>\n<pre><code>export function CardExpireComponent({expire}) {   return (     &lt;div>       &lt;p>\u0421\u0440\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f&lt;\/p>       {expire.year}\/{expire.month}     &lt;\/div>   ) }<\/code><\/pre>\n<p>\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430<\/p>\n<pre><code>export function CardUserNameComponent({user}) {   const userInfo = (user.name[0] + '. ' + user.surname).toUpperCase()    return (     &lt;div>       &lt;p>\u0412\u043b\u0430\u0434\u0435\u043b\u0435\u0446&lt;\/p>       &lt;div>{userInfo}&lt;\/div>       &lt;button onClick={() => copyToClipBoard(userInfo)}>\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c&lt;\/button>     &lt;\/div>   ) }<\/code><\/pre>\n<p>\u041d\u0443 \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043c \u0441\u043e\u0431\u0435\u0440\u0435\u043c \u0432\u0441\u0435 \u0432\u043c\u0435\u0441\u0442\u0435<\/p>\n<pre><code>export function CardComponent() {    return (     &lt;>       &lt;CardNumberComponent cardNumber={cardInfo.cardNumber}>&lt;\/CardNumberComponent>       &lt;CardExpireComponent expire={cardInfo.expire}>&lt;\/CardExpireComponent>       &lt;CardCVVComponent cvv={cardInfo.cvv}>&lt;\/CardCVVComponent>       &lt;CardUserNameComponent user={user}>&lt;\/CardUserNameComponent>     &lt;\/>   ) }<\/code><\/pre>\n<p>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0431\u0443\u0434\u0443\u0442 \u0441\u043b\u0443\u0436\u0438\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435 \u0438 \u043e\u0431\u044a\u0435\u043a\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043a\u0430\u0440\u0442\u0435<\/p>\n<pre><code>const user = {   name: 'Ivan',   surname: 'Ivanov', }  const cardInfo = {   cardNumber: \"1234567812345678\",   expire: {     year: 24,     month: 11   },   cvv: 123 }<\/code><\/pre>\n<p>\u041a\u0430\u043a \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0441\u044f \u2014 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435, \u0440\u0430\u0441\u043f\u0438\u0448\u0438\u0442\u0435\u0441\u044c. \u041d\u043e \u043f\u0440\u0438\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435\u0441\u044c \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0447\u0442\u043e \u043c\u044b \u043d\u0430\u043a\u043e\u0434\u0438\u043b\u0438 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435? \u041f\u0430\u0440\u0430 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432. \u0421\u0440\u0430\u043c\u043e\u0442\u0430, \u0434\u0430 \u0438 \u0442\u043e\u043b\u044c\u043a\u043e! \u042d\u0442\u0438\u043c \u043d\u0435 \u043f\u043e\u0445\u0432\u0430\u0441\u0442\u0430\u0435\u0448\u044c\u0441\u044f \u043f\u0435\u0440\u0435\u0434 \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c\u0438, \u0434\u0430 \u0438 \u043d\u0430\u0447\u0430\u043b\u044c\u0441\u0442\u0432\u0443 \u043d\u0435 \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0448\u044c, \u0447\u0442\u043e \u0437\u0430\u0434\u0430\u0447\u0430 \u0431\u044b\u043b\u0430 \u0442\u0440\u0443\u0434\u043d\u0430 \u0438 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0431\u044b \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c \u043e \u043f\u0440\u0435\u043c\u0438\u0438.\u00a0<\/p>\n<p>\u0412\u044b\u0445\u043e\u0434 \u2014 \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u0442\u044c \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043d\u0430\u0441 \u043f\u0440\u043e\u0441\u0438\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u043a\u0430\u0440\u0442\u0435. \u041e\u0434\u0438\u043d. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043c \u043d\u0430\u0448 \u043a\u043e\u0434.<\/p>\n<pre><code>export function CardComponent() {    const copyToClipBoard = data => {     const textField = document.createElement('textarea')     textField.innerText = data     document.body.appendChild(textField)     textField.select()     document.execCommand('copy')     textField.remove()     alert('\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430')   }       const [isShowNumber, setIsShowNumber] = useState(false)   const [isShow, setIsShow] = useState(false)   const toggleNumber = () => {setIsShowNumber(!isShowNumber)}    const toggleCVV = () => {setIsShow(!isShow)}    const userInfo = (user.name[0] + '. ' + user.surname).toUpperCase()   let cNumToStr = ''   let it = 0      String(cardInfo.cardNumber).split('').forEach((s) => {     if (it % 4 === 0) {       cNumToStr = cNumToStr + ' '     }     cNumToStr = cNumToStr + s     it++     return cNumToStr   })      const showNumber = isShowNumber      ? cNumToStr     : \"\u2022\u2022\u2022\u2022 \" + cNumToStr.substring(cNumToStr.length - 4)    const showCVV = isShow     ? cardInfo.cvv     : \"\u2022\u2022\u2022\"       return (     &lt;>       &lt;div>         &lt;p>\u041d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b&lt;\/p>         &lt;div onClick={toggleNumber}> {showNumber} &lt;\/div>         &lt;button onClick={() => copyToClipBoard(cardInfo.cardNumber)}>\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c&lt;\/button>       &lt;\/div>       &lt;div>         &lt;p>\u0421\u0440\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f&lt;\/p>         {cardInfo.expire.year}\/{cardInfo.expire.month}      &lt;\/div>      &lt;div>        &lt;p>CVV&lt;\/p>        &lt;div onClick={toggleCVV}> {showCVV} &lt;\/div>        &lt;button onClick={() => copyToClipBoard(cardInfo.cvv)}>\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c&lt;\/button>      &lt;\/div>      &lt;div>         &lt;p>\u0412\u043b\u0430\u0434\u0435\u043b\u0435\u0446&lt;\/p>         &lt;div>{userInfo}&lt;\/div>         &lt;button onClick={() => copyToClipBoard(userInfo)}>\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c&lt;\/button>     &lt;\/div>      &lt;\/>   ) }<\/code><\/pre>\n<p>\u0421\u043e\u0433\u043b\u0430\u0441\u0438\u0442\u0435\u0441\u044c, \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0441\u043e\u043b\u0438\u0434\u043d\u0435\u0435? \u041c\u0430\u043b\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0432\u0435\u0441\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u0442\u0430\u043a \u0435\u0449\u0435 \u0438 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u043c \u2014 \u043f\u0440\u043e\u0449\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0437\u0432\u0430\u0442\u044c \u0432\u0430\u0441, \u043a\u0430\u043a \u0430\u0432\u0442\u043e\u0440\u0430, \u0447\u0435\u043c \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0432 \u044d\u0442\u043e\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0435 \u043a \u0447\u0435\u043c\u0443 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f. \u0410 \u0437\u043d\u0430\u0447\u0438\u0442 \u2014 \u0441\u043c\u0435\u043b\u043e \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c +500 \u0432 \u0441\u043a\u0438\u043b\u043b \u00ab\u043d\u0435\u0437\u0430\u043c\u0435\u043d\u0438\u043c\u043e\u0441\u0442\u044c\u00bb.<\/p>\n<h2>\u0427\u0442\u043e \u0432 \u0438\u0442\u043e\u0433\u0435?<\/h2>\n<p>\u0420\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f,<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-329216","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/329216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=329216"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/329216\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=329216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=329216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=329216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}