{"id":2216,"date":"2024-10-31T11:54:46","date_gmt":"2024-10-31T18:54:46","guid":{"rendered":"https:\/\/www.angulartraining.com\/daily-newsletter\/?p=2216"},"modified":"2024-11-04T08:48:16","modified_gmt":"2024-11-04T16:48:16","slug":"rxjs-tips-and-new-resource-api","status":"publish","type":"post","link":"https:\/\/www.angulartraining.com\/daily-newsletter\/rxjs-tips-and-new-resource-api\/","title":{"rendered":"RxJs tips and new resource API"},"content":{"rendered":"\n<p>In the new format of this weekly newsletter, I\u2019m posting a few essential articles to revisit, updates to know about, and one question to ponder this week:<\/p>\n\n\n\n<p><strong>Three short articles to revisit:<\/strong><\/p>\n\n\n\n<p>If you haven&#8217;t adopted the<a href=\"https:\/\/www.angulartraining.com\/daily-newsletter\/angular-16-preview-takeuntildestroyed\/\" target=\"_blank\" rel=\"noopener\" title=\"\"> takeUntilDestroyed<\/a> operator, read this <a href=\"https:\/\/www.angulartraining.com\/daily-newsletter\/angular-16-preview-takeuntildestroyed\/\" target=\"_blank\" rel=\"noopener\" title=\"\">short tutorial<\/a> about it. It&#8217;s even better than using the <a href=\"https:\/\/www.angulartraining.com\/daily-newsletter\/let-for-local-variables-in-angular-views\/\" target=\"_blank\" rel=\"noopener\" title=\"\">async pipe with <code>@let<\/code><\/a> or other <a href=\"https:\/\/www.angulartraining.com\/daily-newsletter\/one-more-async-pipe-syntax-trick\/\" target=\"_blank\" rel=\"noopener\" title=\"\">automated unsubscription techniques<\/a>.<\/p>\n\n\n\n<p><strong>Two updates to know about:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Angular 19 will feature a new <a href=\"https:\/\/www.angulararchitects.io\/en\/blog\/asynchronous-resources-with-angulars-new-resource-api\/?mc_cid=595a0efaf9&amp;mc_eid=01eacd3204\" target=\"_blank\" rel=\"noopener\" title=\"\">resource API<\/a> reminiscent to <a href=\"https:\/\/docs.angularjs.org\/api\/ngResource\/service\/$resource\" target=\"_blank\" rel=\"noopener\" title=\"\">Angular JS&#8217;s own <code>$resource<\/code><\/a> service. It&#8217;s something I wished for for quite some time, even publishing <code><a href=\"https:\/\/blog.angulartraining.com\/how-to-create-signals-out-of-observables-26f952a9f0e4\" target=\"_blank\" rel=\"noopener\" title=\"\">ngx-signalify<\/a><\/code> as a first step in that direction. <a href=\"https:\/\/www.angulararchitects.io\/en\/blog\/asynchronous-resources-with-angulars-new-resource-api\/?mc_cid=595a0efaf9&amp;mc_eid=01eacd3204\" target=\"_blank\" rel=\"noopener\" title=\"\">Manfred took the new resource API for a spin in this tutorial.<\/a><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>I have free open passes for the <a href=\"https:\/\/devinnovationsummit.com\/conference\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Dev Innovation Summit<\/a> next week in Santa Clara and the following week online for remote attendees. You can <a href=\"https:\/\/link.devnetwork.com\/uta0V7ws\" target=\"_blank\" rel=\"noopener\" title=\"\">claim your free pass here<\/a>.<\/li>\n<\/ul>\n\n\n\n<p><strong>One question to think about:<\/strong><\/p>\n\n\n\n<p>Do you always <a href=\"https:\/\/www.angulartraining.com\/daily-newsletter\/anti-pattern-series-not-unsubscribing-from-observables\/\">unsubscribe<\/a> from RxJs Observables? If you don&#8217;t, here are a <a href=\"https:\/\/blog.angulartraining.com\/how-to-automatically-unsubscribe-your-rxjs-observables-tutorial-2f98b0560298#:~:text=Should%20I%20always,in%20ngOnDestroy.\" target=\"_blank\" rel=\"noopener\" title=\"\">few reasons why you should do it<\/a>. Then refer to my 3 short articles above to see how you could do it both easily and consistently.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the new format of this weekly newsletter, I\u2019m posting a few essential articles to revisit, updates to know about, and one question to ponder this week: Three short articles to revisit: If you haven&#8217;t adopted the takeUntilDestroyed operator, read this short tutorial about it. It&#8217;s even better than using the async pipe with @let [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,31,10],"tags":[],"class_list":["post-2216","post","type-post","status-publish","format-standard","hentry","category-angular","category-best-practices","category-rxjs"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts\/2216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/comments?post=2216"}],"version-history":[{"count":4,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts\/2216\/revisions"}],"predecessor-version":[{"id":2220,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts\/2216\/revisions\/2220"}],"wp:attachment":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/media?parent=2216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/categories?post=2216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/tags?post=2216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}