{"id":308393,"date":"2020-08-12T21:00:27","date_gmt":"2020-08-12T21:00:27","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=308393"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=308393","title":{"rendered":"\u0422\u043e\u043f-10 Angular-\u043f\u0440\u0438\u0435\u043c\u043e\u0432, \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e\u043c"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/company\/tinkoff\/blog\/514928\/\">\u0412 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0438\u044e\u043d\u044f <a href=\"https:\/\/twitter.com\/Waterplea\">\u0421\u0430\u0448\u0430 \u0418\u043d\u043a\u0438\u043d<\/a> \u0438 <a href=\"https:\/\/twitter.com\/marsibarsi\">\u044f, \u0420\u043e\u043c\u0430 \u0421\u0435\u0434\u043e\u0432,<\/a> \u0437\u0430\u043f\u0438\u043b\u0438\u043b\u0438 \u0432 \u0422\u0432\u0438\u0442\u0442\u0435\u0440\u0435 \u0447\u0435\u043b\u043b\u0435\u043d\u0434\u0436. \u041a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c \u043c\u044b \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438 \u043f\u043e \u0441\u043e\u0432\u0435\u0442\u0443, \u0445\u0438\u0442\u0440\u043e\u0441\u0442\u0438 \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u0448\u0442\u0443\u043a\u0435 \u0438\u0437 \u043d\u0430\u0448\u0435\u0433\u043e \u043e\u043f\u044b\u0442\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Angular. \u042d\u0442\u043e \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u0442\u0435\u043f\u043b\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0435\u043d\u043e \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u043d\u043e \u043a\u043e\u043c\u044c\u044e\u043d\u0438\u0442\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432.<br \/>  \u042f \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e \u043e \u0434\u0435\u0441\u044f\u0442\u0438 \u043f\u0440\u0438\u0435\u043c\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0431\u0440\u0430\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043b\u0430\u0439\u043a\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u0432 \u043d\u0438\u0445 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e.<\/p>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u0447\u043d\u0435\u043c!<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/fb\/nm\/d2\/fbnmd2jwvfxbxy0xviyebqwg3wm.png\"><br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>\u0422\u043e\u043a\u0435\u043d\u0438\u0437\u0438\u0440\u0443\u0439 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b!<\/h2>\n<p>  \u0421\u0430\u043c\u044b\u0439 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u0442\u0432\u0438\u0442 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043e DI-\u0442\u043e\u043a\u0435\u043d\u0430\u0445 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.<br \/>  \u0412\u043e \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434\u0435 \u043c\u044b \u043f\u0440\u0438\u0432\u044b\u043a\u043b\u0438 \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0432 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u043c \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u0435\u0441\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. \u041c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0432\u0440\u043e\u0434\u0435 window, document, fetch-\u043c\u0435\u0442\u043e\u0434, location \u0438 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043e\u0436\u0438\u0434\u0430\u0435\u043c, \u0447\u0442\u043e \u0438\u0445 \u043c\u043e\u0436\u0435\u0442 \u0438 \u043d\u0435 \u0431\u044b\u0442\u044c.<\/p>\n<p>  \u041d\u043e, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0432 Angular Universal \u0438\u043b\u0438 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u043c \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u0432 Jest \u043d\u0435\u0442 \u043d\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430, \u043d\u0438 window-\u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u043d\u0438 DOM. \u0410 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u044f \u044d\u0442\u0438 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438 \u043f\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u0447\u0435\u0440\u0435\u0437 \u0442\u043e\u043a\u0435\u043d\u044b, \u0443 \u0432\u0430\u0441 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u0438\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c, \u0437\u0430\u043c\u0435\u043d\u043e\u0439 \u0438\u043b\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0432\u0430\u0448\u0435\u0433\u043e \u043a\u043e\u0434\u0430.<\/p>\n<div class=\"oembed\">\n<blockquote class=\"twitter-tweet\" data-lang=\"en_US\">\n<p lang=\"en\" dir=\"ltr\"><a href=\"https:\/\/twitter.com\/hashtag\/AngularTip?src=hash&amp;ref_src=twsrc%5Etfw\">#AngularTip<\/a> for the day! You can tokenize global objects to use them with <a href=\"https:\/\/twitter.com\/hashtag\/angular?src=hash&amp;ref_src=twsrc%5Etfw\">#angular<\/a> Dependency Injection. It allows you to make your entities more abstract and easy to  replace and test <\/p>\n<p>By the way, we have all the basic tokens in our library: <a href=\"https:\/\/t.co\/zPMj3orUpT\">https:\/\/t.co\/zPMj3orUpT<\/a> <a href=\"https:\/\/t.co\/D3S6qCrvyE\">pic.twitter.com\/D3S6qCrvyE<\/a><\/p>\n<p>&mdash; Roman Sedov (@marsibarsi) <a href=\"https:\/\/twitter.com\/marsibarsi\/status\/1274662852079517697?ref_src=twsrc%5Etfw\">June 21, 2020<\/a><\/p><\/blockquote>\n<p> <script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script> <\/div>\n<p>  <\/p>\n<h2>\u041d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u0442 Observable \u0438\u043b\u0438 Subject<\/h2>\n<p>  \u042f \u0437\u043d\u0430\u044e \u043c\u043d\u043e\u0433\u0438\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0437\u0434\u0430\u044e\u0442 \u0445\u043e\u0440\u043e\u0448\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0432 \u0441\u0432\u043e\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445. \u042d\u0442\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0434\u0435\u043b\u0430\u044e\u0442 \u043e\u0434\u043d\u043e \u0434\u0435\u043b\u043e \u0445\u043e\u0440\u043e\u0448\u043e. \u0418, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432 Angular \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c RxJS, \u0442\u0430\u043a\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043c\u043e\u0433\u0443\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u043e \u043f\u043e\u043b\u0435 \u0441 Observable \u0438\u043b\u0438 Subject \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u0435\u0431\u044f \u0434\u043b\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p>  \u0422\u0430\u043a\u0438\u0435 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c, \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043e\u0442 Observable \u0438\u043b\u0438 Subject: <\/p>\n<div class=\"oembed\">\n<blockquote class=\"twitter-tweet\" data-lang=\"en_US\">\n<p lang=\"en\" dir=\"ltr\"><a href=\"https:\/\/twitter.com\/hashtag\/AngularTip?src=hash&amp;ref_src=twsrc%5Etfw\">#AngularTip<\/a> for the day! Do not forget that your <a href=\"https:\/\/twitter.com\/hashtag\/angular?src=hash&amp;ref_src=twsrc%5Etfw\">#angular<\/a> services can extend Observable. It is just a class <\/p>\n<p>Read more about how we use it in Web APIs for Angular here: <a href=\"https:\/\/t.co\/PZyXR5fk5I\">https:\/\/t.co\/PZyXR5fk5I<\/a><\/p>\n<p>And take a look at this sample of GeolocationService implementation <a href=\"https:\/\/t.co\/sfLX5kSUF9\">pic.twitter.com\/sfLX5kSUF9<\/a><\/p>\n<p>&mdash; Roman Sedov (@marsibarsi) <a href=\"https:\/\/twitter.com\/marsibarsi\/status\/1274244090285170689?ref_src=twsrc%5Etfw\">June 20, 2020<\/a><\/p><\/blockquote>\n<p> <script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script> <\/div>\n<p>  <\/p>\n<h2>Control value \u043a\u0430\u043a ReplaySubject<\/h2>\n<p>  \u041c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u043a\u043e\u0433\u0434\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 valueChanges \u0440\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0430, \u043d\u0430\u0447\u0430\u0432 \u0441\u0442\u0440\u0438\u043c \u0441 \u0435\u0433\u043e \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0438\u0437\u043e\u0431\u0440\u0435\u0442\u0430\u0442\u044c \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a \u0441\u0435\u0431\u0435 \u0442\u0430\u043a\u0443\u044e \u043e\u0431\u0435\u0440\u0442\u043a\u0443:<\/p>\n<div class=\"oembed\">\n<blockquote class=\"twitter-tweet\" data-lang=\"en_US\">\n<p lang=\"en\" dir=\"ltr\"><a href=\"https:\/\/twitter.com\/hashtag\/AngularTip?src=hash&amp;ref_src=twsrc%5Etfw\">#AngularTip<\/a> for the day! You can turn your <a href=\"https:\/\/twitter.com\/hashtag\/angular?src=hash&amp;ref_src=twsrc%5Etfw\">#angular<\/a> AbstractControl \/ AbstractControlDirective valueChanges into ReplaySubject(1) with a simple wrapper<\/p>\n<p>Gist to copy: <a href=\"https:\/\/t.co\/HO3vGvND9D\">https:\/\/t.co\/HO3vGvND9D<\/a> <a href=\"https:\/\/t.co\/RcOpNo9MTM\">pic.twitter.com\/RcOpNo9MTM<\/a><\/p>\n<p>&mdash; Roman Sedov (@marsibarsi) <a href=\"https:\/\/twitter.com\/marsibarsi\/status\/1269201441756979200?ref_src=twsrc%5Etfw\">June 6, 2020<\/a><\/p><\/blockquote>\n<p> <script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script> <\/div>\n<p>  <\/p>\n<h2>\u0414\u0435\u043b\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043b\u0443\u0447\u0448\u0435 \u0434\u043b\u044f High DPI \u0434\u0438\u0441\u043f\u043b\u0435\u0435\u0432<\/h2>\n<p>  \u0418\u0437\u0432\u0435\u0441\u0442\u043d\u043e \u043b\u0438 \u0432\u0430\u043c, \u0447\u0442\u043e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043b\u0435\u0433\u043a\u043e \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u044e\u0437\u0435\u0440\u043e\u0432 \u0441 High DPI \u044d\u043a\u0440\u0430\u043d\u0430\u043c\u0438?<br \/>  \u0411\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430\u0436\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0434\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u043e\u0432 \u043c\u0435\u0434\u0438\u0430\u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0435\u0433\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e media-\u0442\u0435\u0433\u0430 \u0438 \u0431\u0435\u0437 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0438\u043b\u0438\u0439:<\/p>\n<div class=\"oembed\">\n<blockquote class=\"twitter-tweet\" data-lang=\"en_US\">\n<p lang=\"en\" dir=\"ltr\"><a href=\"https:\/\/twitter.com\/hashtag\/AngularTip?src=hash&amp;ref_src=twsrc%5Etfw\">#AngularTip<\/a> for the day! You can make an <a href=\"https:\/\/twitter.com\/hashtag\/angular?src=hash&amp;ref_src=twsrc%5Etfw\">#angular<\/a> structural directive for adding content only if the user has High DPI display<\/p>\n<p> It is convenient to use with video or picture sources <a href=\"https:\/\/t.co\/ejNeENGoyI\">pic.twitter.com\/ejNeENGoyI<\/a><\/p>\n<p>&mdash; Roman Sedov (@marsibarsi) <a href=\"https:\/\/twitter.com\/marsibarsi\/status\/1273193230901956608?ref_src=twsrc%5Etfw\">June 17, 2020<\/a><\/p><\/blockquote>\n<p> <script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script> <\/div>\n<p>  <\/p>\n<h2>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u043e \u043f\u0430\u0439\u043f\u0430\u0445<\/h2>\n<p>  \u041f\u0430\u0439\u043f\u044b \u2014 \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0432 \u0441\u0442\u0438\u043b\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 Angular. \u041e\u043d\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043d\u0430\u043c \u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u043d\u0430\u0448\u0438\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432. \u041f\u0435\u0447\u0430\u043b\u044c\u043d\u043e, \u0447\u0442\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043d\u0430 Angular \u0438\u0437\u0431\u0435\u0433\u0430\u044e\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0438\u0445 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u043f\u0430\u0439\u043f\u043e\u0432: \u0441 \u043d\u0438\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0447\u0442\u0438 \u0432 \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438.<\/p>\n<p>  \u0410 \u0432\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0430\u0439\u043f\u0430 \u0434\u043b\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445:<\/p>\n<div class=\"oembed\">\n<blockquote class=\"twitter-tweet\" data-lang=\"en_US\">\n<p lang=\"en\" dir=\"ltr\"><a href=\"https:\/\/twitter.com\/hashtag\/AngularTip?src=hash&amp;ref_src=twsrc%5Etfw\">#AngularTip<\/a> for the day! Make a simple <a href=\"https:\/\/twitter.com\/hashtag\/angular?src=hash&amp;ref_src=twsrc%5Etfw\">#angular<\/a> mapper pipe that transforms value in a template with pure functions. Here is a well-typed sample by me<\/p>\n<p>\ufe0fThis way Angular runs change detection only when mapper parameters have changed<\/p>\n<p>Stackblitz demo:<a href=\"https:\/\/t.co\/C5ddi9GQu4\">https:\/\/t.co\/C5ddi9GQu4<\/a> <a href=\"https:\/\/t.co\/i7vhJnYtGz\">pic.twitter.com\/i7vhJnYtGz<\/a><\/p>\n<p>&mdash; Roman Sedov (@marsibarsi) <a href=\"https:\/\/twitter.com\/marsibarsi\/status\/1270650741275987970?ref_src=twsrc%5Etfw\">June 10, 2020<\/a><\/p><\/blockquote>\n<p> <script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script> <\/div>\n<p>  <\/p>\n<h2>\u0421\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0441\u0432\u043e\u0439 \u044f\u0449\u0438\u043a \u0441 \u0431\u0430\u043d\u0430\u043d\u043e\u043c<\/h2>\n<p>  \u0423 \u044d\u0442\u043e\u0439 Angular-\u0444\u0438\u0447\u0438 \u043c\u043d\u043e\u0433\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0439: banana-in-a-box, two-way binding \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e input-output. \u041e\u0431\u044b\u0447\u043d\u043e \u044d\u0442\u043e\u0442 \u043f\u043e\u0434\u0445\u043e\u0434 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442 \u0432 \u0444\u043e\u0440\u043c\u0430\u0445, \u0440\u0430\u0431\u043e\u0442\u0430\u044f \u0441 [(ngModel)]. \u041d\u043e \u0437\u043d\u0430\u0435\u0442\u0435 \u043b\u0438 \u0432\u044b, \u043a\u0430\u043a \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e \u0434\u043b\u044f \u0441\u0432\u043e\u0438\u0445 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432?<\/p>\n<div class=\"oembed\">\n<blockquote class=\"twitter-tweet\" data-lang=\"en_US\">\n<p lang=\"en\" dir=\"ltr\"><a href=\"https:\/\/twitter.com\/hashtag\/AngularTip?src=hash&amp;ref_src=twsrc%5Etfw\">#AngularTip<\/a> for the day! Do you know that you can make &quot;Banana in a box&quot; input-output in your Angular component?<\/p>\n<p>Just add &quot;Change&quot; postfix for the output name: <a href=\"https:\/\/t.co\/mxkrR455XT\">pic.twitter.com\/mxkrR455XT<\/a><\/p>\n<p>&mdash; Roman Sedov (@marsibarsi) <a href=\"https:\/\/twitter.com\/marsibarsi\/status\/1283676458775392256?ref_src=twsrc%5Etfw\">July 16, 2020<\/a><\/p><\/blockquote>\n<p> <script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script> <\/div>\n<p>  <\/p>\n<h2>RxJS \u2014 \u043d\u0435\u0438\u0437\u0432\u0435\u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u0438\u0440<\/h2>\n<p>  \u042f \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0432\u0441\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438 \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u043a\u0438 \u0443 RxJS-\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e. \u041f\u0440\u0438\u0447\u0438\u043d\u0430: \u0432\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u0438\u0437 \u043d\u0438\u0445 \u0435\u0441\u0442\u044c \u0441\u043a\u0440\u044b\u0442\u044b\u0435 \u043e\u043f\u0446\u0438\u0438, \u0443\u0437\u043d\u0430\u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0442\u0440\u0438\u043c\u044b \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u043f\u0440\u043e\u0449\u0435.<\/p>\n<p>  \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0431\u044b\u0432\u0430\u044e\u0442 \u0435\u0449\u0435 \u0438 \u043d\u0435\u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b. \u041e\u043d\u0438 \u0440\u0435\u0434\u043a\u043e \u043f\u043e\u043f\u0430\u0434\u0430\u044e\u0442\u0441\u044f, \u043d\u043e \u043c\u043e\u0433\u0443\u0442 \u0440\u0435\u0448\u0438\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0432 \u043e\u0434\u043d\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u043a\u043e\u0434\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0433\u043e \u0438 \u0445\u0438\u0442\u0440\u043e\u0433\u043e \u0441\u0442\u0440\u0438\u043c\u0430.<br \/>  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0442\u0430\u043a\u0438\u0445 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0439 \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u0441\u0442\u0430\u043b\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0432 distinctUntilChanged-\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0435:<\/p>\n<div class=\"oembed\">\n<blockquote class=\"twitter-tweet\" data-lang=\"en_US\">\n<p lang=\"en\" dir=\"ltr\"><a href=\"https:\/\/twitter.com\/hashtag\/AngularTip?src=hash&amp;ref_src=twsrc%5Etfw\">#AngularTip<\/a> for the day! <a href=\"https:\/\/twitter.com\/hashtag\/rxjs?src=hash&amp;ref_src=twsrc%5Etfw\">#rxjs<\/a> has many useful details, do not forget to check all parameters of rxjs operators.<\/p>\n<p>For example, did you know that you can use your own &quot;compare&quot; function into distinctUntilChanged operator? <a href=\"https:\/\/t.co\/5ldGEcHVrX\">pic.twitter.com\/5ldGEcHVrX<\/a><\/p>\n<p>&mdash; Roman Sedov (@marsibarsi) <a href=\"https:\/\/twitter.com\/marsibarsi\/status\/1276804788982693888?ref_src=twsrc%5Etfw\">June 27, 2020<\/a><\/p><\/blockquote>\n<p> <script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script> <\/div>\n<p>  \u0410 \u0431\u044b\u043b \u0435\u0449\u0435 \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u0442\u0432\u0438\u0442 \u043e RxJS. \u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0430\u044f \u0445\u0438\u0442\u0440\u043e\u0441\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043a\u0430\u043f\u0435\u043b\u044c\u043a\u0443 \u043f\u0440\u043e\u0449\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u043c\u044b\u043c\u0438:<\/p>\n<div class=\"oembed\">\n<blockquote class=\"twitter-tweet\" data-lang=\"en_US\">\n<p lang=\"en\" dir=\"ltr\"><a href=\"https:\/\/twitter.com\/hashtag\/AngularTip?src=hash&amp;ref_src=twsrc%5Etfw\">#AngularTip<\/a> and <a href=\"https:\/\/twitter.com\/hashtag\/rxjsTip?src=hash&amp;ref_src=twsrc%5Etfw\">#rxjsTip<\/a> for the day! it is a good practice to make subjects private in public API and to provide an observable for class users.<\/p>\n<p> You can use .pipe() instead of .asObservable(). The result is the same but .pipe() is more easy to expand in the future <a href=\"https:\/\/t.co\/LqFNf4gjjB\">pic.twitter.com\/LqFNf4gjjB<\/a><\/p>\n<p>&mdash; Roman Sedov (@marsibarsi) <a href=\"https:\/\/twitter.com\/marsibarsi\/status\/1277915827526868993?ref_src=twsrc%5Etfw\">June 30, 2020<\/a><\/p><\/blockquote>\n<p> <script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script> <\/div>\n<p>  \u0418\u043b\u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 defaultIfEmpty, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u0430\u043b\u043e\u0436\u0438\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u0443\u044e \u043b\u043e\u0433\u0438\u043a\u0443 \u0432 \u0441\u0442\u0440\u0438\u043c \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u043a\u043e\u0434\u0430:<\/p>\n<div class=\"oembed\">\n<blockquote class=\"twitter-tweet\" data-lang=\"en_US\">\n<p lang=\"en\" dir=\"ltr\"><a href=\"https:\/\/twitter.com\/hashtag\/AngularTip?src=hash&amp;ref_src=twsrc%5Etfw\">#AngularTip<\/a> and <a href=\"https:\/\/twitter.com\/hashtag\/rxjsTip?src=hash&amp;ref_src=twsrc%5Etfw\">#rxjsTip<\/a> for the day! Do you know &quot;defaultIfEmpty&quot; operator? It emits default value if source completes without having emitted any value <a href=\"https:\/\/t.co\/17aezKM0wo\">pic.twitter.com\/17aezKM0wo<\/a><\/p>\n<p>&mdash; Roman Sedov (@marsibarsi) <a href=\"https:\/\/twitter.com\/marsibarsi\/status\/1277568971202584576?ref_src=twsrc%5Etfw\">June 29, 2020<\/a><\/p><\/blockquote>\n<p> <script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script> <\/div>\n<p>  <\/p>\n<h2>\u041c\u043e\u0436\u043d\u043e \u0434\u0430\u0436\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0443 ngFor<\/h2>\n<p>  \u0418 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435: \u0432 Angular \u0435\u0441\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u0434\u043b\u044f \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u043e\u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432 \u043d\u0430\u043f\u043e\u0434\u043e\u0431\u0438\u0435 for \u2026 of \u2026 \u0421 \u0435\u0433\u043e \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 ngFor \u043f\u043e\u0434 \u043b\u044e\u0431\u0443\u044e \u0432\u0430\u0448\u0443 \u0437\u0430\u0434\u0430\u0447\u0443.<\/p>\n<p>  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u044b\u0439 ngFor \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 Map. \u0418\u043b\u0438 \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439, \u043f\u0440\u043e\u0441\u0442\u043e\u0439 for \u0434\u043b\u044f \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u0438\u043d\u0434\u0435\u043a\u0441\u0430 \u043e\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u0434\u043e \u0434\u0440\u0443\u0433\u043e\u0433\u043e:<\/p>\n<div class=\"oembed\">\n<blockquote class=\"twitter-tweet\" data-lang=\"en_US\">\n<p lang=\"en\" dir=\"ltr\"><a href=\"https:\/\/twitter.com\/hashtag\/AngularTip?src=hash&amp;ref_src=twsrc%5Etfw\">#AngularTip<\/a> for the day! You can make an <a href=\"https:\/\/twitter.com\/hashtag\/angular?src=hash&amp;ref_src=twsrc%5Etfw\">#angular<\/a> directive similar to ngFor but using a number of repetitions rather than an array<\/p>\n<p>It can save your time creating calendars, pagination or anything else you need to repeat a certain number of times<a href=\"https:\/\/t.co\/0qtKJUzGVM\">https:\/\/t.co\/0qtKJUzGVM<\/a> <a href=\"https:\/\/t.co\/GsJ6MDOiKY\">pic.twitter.com\/GsJ6MDOiKY<\/a><\/p>\n<p>&mdash; Roman Sedov (@marsibarsi) <a href=\"https:\/\/twitter.com\/marsibarsi\/status\/1270282771458555906?ref_src=twsrc%5Etfw\">June 9, 2020<\/a><\/p><\/blockquote>\n<p> <script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script> <\/div>\n<p>  <\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>  Angular \u0431\u043e\u043b\u044c\u0448\u043e\u0439, \u0438 \u0432 \u043d\u0435\u043c \u0435\u0449\u0435 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0444\u0438\u0448\u0435\u043a. \u0423 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u0440\u044f\u0434 \u0438\u0434\u0435\u0439 \u0434\u043b\u044f \u043d\u043e\u0432\u044b\u0445 \u043f\u0440\u0438\u0435\u043c\u043e\u0432 \u0438 \u0445\u0438\u0442\u0440\u043e\u0441\u0442\u0435\u0439 \u0438\u0437 \u043d\u0430\u0448\u0438\u0445 \u043b\u0443\u0447\u0448\u0438\u0445 \u043f\u0440\u0430\u043a\u0442\u0438\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e\u043c. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u043d\u043e\u0432\u044b\u0435 \u0442\u0432\u0438\u0442\u044b, <a href=\"https:\/\/twitter.com\/marsibarsi\">\u043f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u0439\u0442\u0435\u0441\u044c \u043d\u0430 \u043c\u0435\u043d\u044f \u0432 \u0422\u0432\u0438\u0442\u0442\u0435\u0440\u0435<\/a>. \u0418 \u0445\u043e\u0440\u043e\u0448\u0435\u0433\u043e \u0432\u0430\u043c \u0434\u043d\u044f!<\/div>\n<p> \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\/company\/tinkoff\/blog\/514928\/\"> https:\/\/habr.com\/ru\/company\/tinkoff\/blog\/514928\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/company\/tinkoff\/blog\/514928\/\">\u0412 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0438\u044e\u043d\u044f <a href=\"https:\/\/twitter.com\/Waterplea\">\u0421\u0430\u0448\u0430 \u0418\u043d\u043a\u0438\u043d<\/a> \u0438 <a href=\"https:\/\/twitter.com\/marsibarsi\">\u044f, \u0420\u043e\u043c\u0430 \u0421\u0435\u0434\u043e\u0432,<\/a> \u0437\u0430\u043f\u0438\u043b\u0438\u043b\u0438 \u0432 \u0422\u0432\u0438\u0442\u0442\u0435\u0440\u0435 \u0447\u0435\u043b\u043b\u0435\u043d\u0434\u0436. \u041a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c \u043c\u044b \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438 \u043f\u043e \u0441\u043e\u0432\u0435\u0442\u0443, \u0445\u0438\u0442\u0440\u043e\u0441\u0442\u0438 \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u0448\u0442\u0443\u043a\u0435 \u0438\u0437 \u043d\u0430\u0448\u0435\u0433\u043e \u043e\u043f\u044b\u0442\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Angular. \u042d\u0442\u043e \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u0442\u0435\u043f\u043b\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0435\u043d\u043e \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u043d\u043e \u043a\u043e\u043c\u044c\u044e\u043d\u0438\u0442\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432.<br \/>  \u042f \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e \u043e \u0434\u0435\u0441\u044f\u0442\u0438 \u043f\u0440\u0438\u0435\u043c\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0431\u0440\u0430\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043b\u0430\u0439\u043a\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u0432 \u043d\u0438\u0445 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e.<\/p>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u0447\u043d\u0435\u043c!<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/fb\/nm\/d2\/fbnmd2jwvfxbxy0xviyebqwg3wm.png\">  <\/p>\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-308393","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/308393","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=308393"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/308393\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=308393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=308393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=308393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}