notes/.config/newsboat/reddit_rss/Angular2.rss
2023-01-28 05:22:19 -08:00

1 line
No EOL
46 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/"><category term="Angular2" label="r/Angular2"/><updated>2023-01-24T03:28:12+00:00</updated><icon>https://www.redditstatic.com/icon.png/</icon><id>/r/Angular2.rss</id><link rel="self" href="https://www.reddit.com/r/Angular2.rss" type="application/atom+xml" /><link rel="alternate" href="https://www.reddit.com/r/Angular2" type="text/html" /><subtitle>Angular is Google's open source framework for crafting high-quality front-end web applications. r/Angular2 exists to help spread news, discuss current developments and help solve problems. Welcome!</subtitle><title>Angular (2+)</title><entry><author><name>/u/cryptos6</name><uri>https://www.reddit.com/user/cryptos6</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Google fired 6% of its workforce and I&amp;#39;m wondering whether Angular is affected by it. Does anybody know?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/cryptos6&quot;&gt; /u/cryptos6 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jc5kc/is_angular_affected_by_the_layoffs_at_google/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jc5kc/is_angular_affected_by_the_layoffs_at_google/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10jc5kc</id><link href="https://www.reddit.com/r/Angular2/comments/10jc5kc/is_angular_affected_by_the_layoffs_at_google/" /><updated>2023-01-23T13:11:30+00:00</updated><published>2023-01-23T13:11:30+00:00</published><title>Is Angular affected by the layoffs at Google?</title></entry><entry><author><name>/u/ahmedRebai</name><uri>https://www.reddit.com/user/ahmedRebai</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jq69r/optimizing_angular_unit_tests_for_faster_execution/&quot;&gt; &lt;img src=&quot;https://external-preview.redd.it/-3aBWhDBPhR3rmgQBTVPbMpV4jtwkFLupUL2b74tx5w.jpg?width=640&amp;amp;crop=smart&amp;amp;auto=webp&amp;amp;s=7627c4961e83de7a9f66f205ec1c9402e44b9e8b&quot; alt=&quot;Optimizing Angular Unit Tests for Faster Execution ⏳⏰&quot; title=&quot;Optimizing Angular Unit Tests for Faster Execution ⏳⏰&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/ahmedRebai&quot;&gt; /u/ahmedRebai &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://ahmedrebai.medium.com/optimizing-angular-unit-tests-for-faster-execution-70c7adda6b21&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jq69r/optimizing_angular_unit_tests_for_faster_execution/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10jq69r</id><media:thumbnail url="https://external-preview.redd.it/-3aBWhDBPhR3rmgQBTVPbMpV4jtwkFLupUL2b74tx5w.jpg?width=640&amp;crop=smart&amp;auto=webp&amp;s=7627c4961e83de7a9f66f205ec1c9402e44b9e8b" /><link href="https://www.reddit.com/r/Angular2/comments/10jq69r/optimizing_angular_unit_tests_for_faster_execution/" /><updated>2023-01-23T22:55:04+00:00</updated><published>2023-01-23T22:55:04+00:00</published><title>Optimizing Angular Unit Tests for Faster Execution ⏳⏰</title></entry><entry><author><name>/u/zootia</name><uri>https://www.reddit.com/user/zootia</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hey Reddit,&lt;/p&gt; &lt;p&gt;I recently got a new manager and he has asked me to increase FE test coverage for our project. I was confused because we have jasmine tests already covering all the major methods. Like service/api calls or any sort of data structure manipulation logic within the components are covered. &lt;/p&gt; &lt;p&gt;He sat down with me on a call and said that the coverage was not sufficient and pointed out an example.&lt;/p&gt; &lt;p&gt;It was a simple *ngIf block in the template, that showed a section of the page if a value was true and hid it if it wasn&amp;#39;t. Very simple. He asked &amp;quot;How are you testing that this part will actually be hidden?&amp;quot;. I showed him how we were testing the api call that returns the boolean value that controls it with a spy on the service in the spec file. But he kept saying yes but how can you make sure this is actually hidden in the rendered page? I was kinda confused and didn&amp;#39;t know what to say? I asked him if he meant like in e2e tests where a page is rendered and things are tested? (We have a full set of Cypress e2e tests and a dedicated QA engineer who writes these btw). He said yes, we need to test the elements on the page and not the innards of the component logic. I was super confused and told him I&amp;#39;d never heard of Jasmine tests being written like that before.&lt;/p&gt; &lt;p&gt;He openly mused about how I had been writing Angular code for so long and didn&amp;#39;t understand how to write tests and linked me this (&lt;a href=&quot;https://blog.simontest.net/dont-test-the-code-in-your-angular-components-c6ba058f758e&quot;&gt;https://blog.simontest.net/dont-test-the-code-in-your-angular-components-c6ba058f758e&lt;/a&gt;) and said he wanted every element of the page to be tested in this manner.&lt;/p&gt; &lt;p&gt;I this point I stopped pushing and said okay, I&amp;#39;ll read this and get back to you. &lt;/p&gt; &lt;p&gt;Upon reading this article, I see it&amp;#39;s a totally different way of approaching testing. Basically like a poor mans e2e. But my thoughts are still that Jasmine tests are most effective testing the internal logic of a component. In the example that my boss had pointed out, am I supposed to be testing that *ngIf works? Am I testing Angular&amp;#39;s or Javascript&amp;#39;s code? Obviously we don&amp;#39;t have to test that *ngIf will actually hide the section if it is false?? Seems pointless and redundant. Also, I think given that we have a full Cypress test suite that actually does this properly.. what is even the point of me writing Jasmine tests to do the same thing, albeit in a less effective manner?&lt;/p&gt; &lt;p&gt;I come here asking because maybe I have indeed worked in a well for so long and nobody else writes tests like I had been doing (for 7 years at 4 different companies..?) and this method of testing the &amp;quot;what is rendered to the user&amp;quot; is the correct way to do things now? I need opinions from other experienced devs. I&amp;#39;ve been doing Angular for a long time and I don&amp;#39;t run into a lot of new things but this was a brand new concept to me.&lt;/p&gt; &lt;p&gt;Thanks!&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/zootia&quot;&gt; /u/zootia &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10juzge/scope_of_unit_testing_karmajas_boss_wants/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10juzge/scope_of_unit_testing_karmajas_boss_wants/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10juzge</id><link href="https://www.reddit.com/r/Angular2/comments/10juzge/scope_of_unit_testing_karmajas_boss_wants/" /><updated>2023-01-24T02:37:27+00:00</updated><published>2023-01-24T02:37:27+00:00</published><title>Scope of unit testing (karma/Jas) Boss wants unreasonable testing?</title></entry><entry><author><name>/u/cryptos6</name><uri>https://www.reddit.com/user/cryptos6</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jeged/the_most_demanded_frontend_frameworks_in_2022/&quot;&gt; &lt;img src=&quot;https://external-preview.redd.it/geKV964ZSUJpTjnns4KSxerf4HAif-l1QBr3jur63J8.jpg?width=640&amp;amp;crop=smart&amp;amp;auto=webp&amp;amp;s=34a5971e2cddca886cf2a2b226fa33a07a3208ce&quot; alt=&quot;The Most Demanded Frontend Frameworks in 2022&quot; title=&quot;The Most Demanded Frontend Frameworks in 2022&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/cryptos6&quot;&gt; /u/cryptos6 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.devjobsscanner.com/blog/the-most-demanded-frontend-frameworks-in-2022/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jeged/the_most_demanded_frontend_frameworks_in_2022/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10jeged</id><media:thumbnail url="https://external-preview.redd.it/geKV964ZSUJpTjnns4KSxerf4HAif-l1QBr3jur63J8.jpg?width=640&amp;crop=smart&amp;auto=webp&amp;s=34a5971e2cddca886cf2a2b226fa33a07a3208ce" /><link href="https://www.reddit.com/r/Angular2/comments/10jeged/the_most_demanded_frontend_frameworks_in_2022/" /><updated>2023-01-23T15:00:25+00:00</updated><published>2023-01-23T15:00:25+00:00</published><title>The Most Demanded Frontend Frameworks in 2022</title></entry><entry><author><name>/u/Fantastic-Beach7663</name><uri>https://www.reddit.com/user/Fantastic-Beach7663</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I have the following form set-up:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;this.myForm = this.fBuilder.group({ locations: this.fBuilder.group({ universities: this.fBuilder.array([]), cities: this.fBuilder.array([]), countries: this.fBuilder.array([]) }, { validators: CustomValidators.minItemsInFormGroupNestedFormArrays(1)}) }); &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;And I&amp;#39;ve made a custom validator. I need the user to have selected at least 1 within 1 of the 3 arrays.&lt;/p&gt; &lt;p&gt;But I&amp;#39;m a bit rusty on looping through the nested objects (universities, cities and countries) to then get the total number of array items in each. So far I have:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;static minItemsInFormGroupNestedFormArrays(min = 1) { const validator: ValidatorFn = (formGroup: AbstractControl) =&amp;gt; { if (formGroup instanceof FormGroup) { const totalSelected = Object.entries(formGroup.controls).reduce((acc, [key, value]) =&amp;gt; { acc + value.value.length; return acc; },0); console.log(totalSelected); return totalSelected &amp;gt;= min ? null : { required: true }; } throw new Error(&amp;#39;formGroup is not an instance of FormGroup&amp;#39;); }; return validator; } &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;But this always returns that I have 0 items even after I add items into the arrays.&lt;/p&gt; &lt;p&gt;I&amp;#39;d just need to look for the length in each array. If there is at least 1, then validation passes.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Fantastic-Beach7663&quot;&gt; /u/Fantastic-Beach7663 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jfdmp/custom_validator_min_number_of_selected_items_in/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jfdmp/custom_validator_min_number_of_selected_items_in/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10jfdmp</id><link href="https://www.reddit.com/r/Angular2/comments/10jfdmp/custom_validator_min_number_of_selected_items_in/" /><updated>2023-01-23T15:39:58+00:00</updated><published>2023-01-23T15:39:58+00:00</published><title>Custom validator - Min number of selected items in nested arrays</title></entry><entry><author><name>/u/fuscaDeValfenda</name><uri>https://www.reddit.com/user/fuscaDeValfenda</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I&amp;#39;m using aws-amplify with AWS-Cognito on the application. We identify a need to refresh user token, but I don&amp;#39;t know how to &amp;quot;properly&amp;quot; do it. I already set-up an Interceptor to apply the auth token on every request, for me was hard, but I understood the concept. So I should do the same with the refresh token? Use an interceptor to check if it is expired, then refresh it?&lt;br/&gt; I mean, regards to good practices xDAny help? &lt;/p&gt; &lt;p&gt;EDIT:&lt;br/&gt; Explain that I&amp;#39;m passing the auth token and want to refresh it. How to proper refresh the auth token.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/fuscaDeValfenda&quot;&gt; /u/fuscaDeValfenda &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jbjo0/noob_asking_about_token_refresh/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jbjo0/noob_asking_about_token_refresh/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10jbjo0</id><link href="https://www.reddit.com/r/Angular2/comments/10jbjo0/noob_asking_about_token_refresh/" /><updated>2023-01-23T12:40:15+00:00</updated><published>2023-01-23T12:40:15+00:00</published><title>Noob asking about token refresh...</title></entry><entry><author><name>/u/timdeschryver</name><uri>https://www.reddit.com/user/timdeschryver</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jhq5u/adding_opentelemetry_to_an_angular_application/&quot;&gt; &lt;img src=&quot;https://external-preview.redd.it/7eGHYhbDZMI66Xb9Z6txgc7INK3dptNzChqaB7bYLS8.jpg?width=640&amp;amp;crop=smart&amp;amp;auto=webp&amp;amp;s=71affdaef4eca5130ed7aacfe5b4ee910a6069ac&quot; alt=&quot;Adding OpenTelemetry to an Angular Application&quot; title=&quot;Adding OpenTelemetry to an Angular Application&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/timdeschryver&quot;&gt; /u/timdeschryver &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://timdeschryver.dev/blog/adding-opentelemetry-to-an-angular-application&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jhq5u/adding_opentelemetry_to_an_angular_application/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10jhq5u</id><media:thumbnail url="https://external-preview.redd.it/7eGHYhbDZMI66Xb9Z6txgc7INK3dptNzChqaB7bYLS8.jpg?width=640&amp;crop=smart&amp;auto=webp&amp;s=71affdaef4eca5130ed7aacfe5b4ee910a6069ac" /><link href="https://www.reddit.com/r/Angular2/comments/10jhq5u/adding_opentelemetry_to_an_angular_application/" /><updated>2023-01-23T17:16:00+00:00</updated><published>2023-01-23T17:16:00+00:00</published><title>Adding OpenTelemetry to an Angular Application</title></entry><entry><author><name>/u/tech_codes__</name><uri>https://www.reddit.com/user/tech_codes__</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Programmers of all skill levels, are welcome.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;GOAL&lt;/strong&gt; make getting the real world job easier, having already done it. A mock job&lt;/p&gt; &lt;p&gt;Learn-on-the-&amp;quot;job&amp;quot; SDE project, to get daily experience as a software engineer. Learn to code (or code better) taking assignments, and reporting on your work, as in a professional Agile software team. We code in Java, and JavaScript, using popular tools. Operate in two week sprints, believe in data structures, algorithms, and code reviews&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Languages&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;- Java, Javascript, SQL&lt;/p&gt; &lt;p&gt;Core Frameworks&lt;/p&gt; &lt;p&gt;- Angular, Springboot&lt;/p&gt; &lt;p&gt;weekly Wednesday and Thursdays 1:00-2:30 am GMT (6:00-7:30 pm PST)&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Find us&lt;/strong&gt; : &lt;a href=&quot;https://www.meetup.com/Denver-Mock-Programming-Job-Meetup&quot;&gt;https://www.meetup.com/Denver-Mock-Programming-Job-Meetup&lt;/a&gt; &lt;/p&gt; &lt;p&gt;or get in touch with &lt;a href=&quot;/u/haxwelldotorg&quot;&gt;u/haxwelldotorg&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/tech_codes__&quot;&gt; /u/tech_codes__ &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jmziy/offering_to_mentor_buddies_seeking_sde_job/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jmziy/offering_to_mentor_buddies_seeking_sde_job/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10jmziy</id><link href="https://www.reddit.com/r/Angular2/comments/10jmziy/offering_to_mentor_buddies_seeking_sde_job/" /><updated>2023-01-23T20:45:39+00:00</updated><published>2023-01-23T20:45:39+00:00</published><title>OFFERING TO MENTOR BUDDIES Seeking SDE job Experience or Mentorship (Java or JavaScript)</title></entry><entry><author><name>/u/ahmedRebai</name><uri>https://www.reddit.com/user/ahmedRebai</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hello community, I read somewhere that calling fixture.destroy() inside after hook &lt;/p&gt; &lt;p&gt;and calling TestBed.resetTestingModule can help to speed up unit tests &lt;/p&gt; &lt;p&gt;Does anyone used them? could you share your experience?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/ahmedRebai&quot;&gt; /u/ahmedRebai &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10j9x0o/fixturedestroytestbedresettestingmodule_to_speed/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10j9x0o/fixturedestroytestbedresettestingmodule_to_speed/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10j9x0o</id><link href="https://www.reddit.com/r/Angular2/comments/10j9x0o/fixturedestroytestbedresettestingmodule_to_speed/" /><updated>2023-01-23T11:04:23+00:00</updated><published>2023-01-23T11:04:23+00:00</published><title>fixture.destroy()/TestBed.resetTestingModule to speed up unit tests with Angular</title></entry><entry><author><name>/u/wmmaina</name><uri>https://www.reddit.com/user/wmmaina</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jjq2s/using_zod_schemas_as_source_of_truth_for/&quot;&gt; &lt;img src=&quot;https://external-preview.redd.it/bgLd-ZQvKYKbDDy4PyIF0T7u3Mx_JpWG81LBmrz7q6Q.jpg?width=640&amp;amp;crop=smart&amp;amp;auto=webp&amp;amp;s=19790d6c1619974ed1a3755d5533f3e739f5a6ba&quot; alt=&quot;Using Zod Schemas as Source of Truth for Typescript Types&quot; title=&quot;Using Zod Schemas as Source of Truth for Typescript Types&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/wmmaina&quot;&gt; /u/wmmaina &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.allthingstypescript.dev/p/using-zod-schemas-as-source-of-truth&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10jjq2s/using_zod_schemas_as_source_of_truth_for/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10jjq2s</id><media:thumbnail url="https://external-preview.redd.it/bgLd-ZQvKYKbDDy4PyIF0T7u3Mx_JpWG81LBmrz7q6Q.jpg?width=640&amp;crop=smart&amp;auto=webp&amp;s=19790d6c1619974ed1a3755d5533f3e739f5a6ba" /><link href="https://www.reddit.com/r/Angular2/comments/10jjq2s/using_zod_schemas_as_source_of_truth_for/" /><updated>2023-01-23T18:33:59+00:00</updated><published>2023-01-23T18:33:59+00:00</published><title>Using Zod Schemas as Source of Truth for Typescript Types</title></entry><entry><author><name>/u/maxkoretskyi</name><uri>https://www.reddit.com/user/maxkoretskyi</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10j5zg0/change_detection_and_component_trees_in_angular/&quot;&gt; &lt;img src=&quot;https://external-preview.redd.it/Y7UyVomOpI8qm9Uy7VhV4CzfCzEyCWbGgpt_XxN3d7M.jpg?width=640&amp;amp;crop=smart&amp;amp;auto=webp&amp;amp;s=be327e416be11d9c9e58234f40aaa4c91ebec869&quot; alt=&quot;Change detection and component trees in Angular applications - Angular inDepth&quot; title=&quot;Change detection and component trees in Angular applications - Angular inDepth&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/maxkoretskyi&quot;&gt; /u/maxkoretskyi &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://indepth.dev/posts/1512/change-detection-and-component-trees-in-angular-applications&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10j5zg0/change_detection_and_component_trees_in_angular/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10j5zg0</id><media:thumbnail url="https://external-preview.redd.it/Y7UyVomOpI8qm9Uy7VhV4CzfCzEyCWbGgpt_XxN3d7M.jpg?width=640&amp;crop=smart&amp;auto=webp&amp;s=be327e416be11d9c9e58234f40aaa4c91ebec869" /><link href="https://www.reddit.com/r/Angular2/comments/10j5zg0/change_detection_and_component_trees_in_angular/" /><updated>2023-01-23T06:36:19+00:00</updated><published>2023-01-23T06:36:19+00:00</published><title>Change detection and component trees in Angular applications - Angular inDepth</title></entry><entry><author><name>/u/ahmedRebai</name><uri>https://www.reddit.com/user/ahmedRebai</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hello dear angular community, I want to ask for some help how can I measure angular unit tests execution time (average time at least), I&amp;#39;m trying to explore how to optimize unit tests and I didn&amp;#39;t find a way to prove that because time varies always&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/ahmedRebai&quot;&gt; /u/ahmedRebai &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10j9kqc/suggest_pluginstools_to_measure_angular_unit/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10j9kqc/suggest_pluginstools_to_measure_angular_unit/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10j9kqc</id><link href="https://www.reddit.com/r/Angular2/comments/10j9kqc/suggest_pluginstools_to_measure_angular_unit/" /><updated>2023-01-23T10:41:34+00:00</updated><published>2023-01-23T10:41:34+00:00</published><title>Suggest plugins/tools to measure Angular unit tests execution time</title></entry><entry><author><name>/u/LifeIsTrulyBeautiful</name><uri>https://www.reddit.com/user/LifeIsTrulyBeautiful</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;My part in a home automation project is the frontend one. So far, I&amp;#39;ve managed to display data from JSON file that I created by hand based on fractions of data coming from the backend Java + MongoDB server.&lt;/p&gt; &lt;p&gt;But having been reading for the last 2 days about MQTT broker, I&amp;#39;ve come to the conclusion that I might need to link my application&amp;#39;s front to the MQTT instead of the Java backend.&lt;/p&gt; &lt;p&gt;I am panicked, since, I can mostly display data and fiddle around with HTML, CSS, components, properties.&lt;/p&gt; &lt;p&gt;But have no idea whatsoever of how to interpret a JSON file apart from displaying its data. I need to do GET, POST, PUT, DELETE requests on the MQTT broker (some sort of server that intermediates between the backend server, the embedded components, and the application&amp;#39;s frontend - my part).&lt;/p&gt; &lt;p&gt;How should I analyze this problem? How to break it down and actually solve it within a week? I like Angular so far, but HTTP requests seem to be out of question for my case.&lt;/p&gt; &lt;p&gt;Thank you all! And sorry if my question is dumb or vague, I am very new to all of this - but I&amp;#39;m so excited!&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/LifeIsTrulyBeautiful&quot;&gt; /u/LifeIsTrulyBeautiful &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10ipg8d/working_in_angular_should_i_transform_every_json/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10ipg8d/working_in_angular_should_i_transform_every_json/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10ipg8d</id><link href="https://www.reddit.com/r/Angular2/comments/10ipg8d/working_in_angular_should_i_transform_every_json/" /><updated>2023-01-22T17:48:04+00:00</updated><published>2023-01-22T17:48:04+00:00</published><title>Working in Angular, should I transform every JSON file I receive into a TypeScript model/interface/constant?</title></entry><entry><author><name>/u/Emotional-Bid-4173</name><uri>https://www.reddit.com/user/Emotional-Bid-4173</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I feel like the UI kits that I&amp;#39;ve seen all look like a google material dashboard.&lt;/p&gt; &lt;p&gt;How can I make angular not LOOK like an angular app but look like a modern landing page/dashboard?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Emotional-Bid-4173&quot;&gt; /u/Emotional-Bid-4173 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10j1sxh/how_to_make_an_angular_app_not_look_like_an/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10j1sxh/how_to_make_an_angular_app_not_look_like_an/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10j1sxh</id><link href="https://www.reddit.com/r/Angular2/comments/10j1sxh/how_to_make_an_angular_app_not_look_like_an/" /><updated>2023-01-23T02:47:17+00:00</updated><published>2023-01-23T02:47:17+00:00</published><title>How to make an angular app not LOOK like an angular app?</title></entry><entry><author><name>/u/niceshit420</name><uri>https://www.reddit.com/user/niceshit420</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;So im using ngrx in my project and with redux devtools as you know there are all my actions and i can jump back or forward to each state. Is it possible to save exactly these actions/state history to use undo/redo functionality within the website without having to program it myself with another reducer etc.?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/niceshit420&quot;&gt; /u/niceshit420 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10ivhon/ngrx_undoredo/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10ivhon/ngrx_undoredo/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10ivhon</id><link href="https://www.reddit.com/r/Angular2/comments/10ivhon/ngrx_undoredo/" /><updated>2023-01-22T21:57:33+00:00</updated><published>2023-01-22T21:57:33+00:00</published><title>NGRX Undo/Redo</title></entry><entry><author><name>/u/YourMomIsMyTechStack</name><uri>https://www.reddit.com/user/YourMomIsMyTechStack</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hi fellow developers, I&amp;#39;m at a new job and I&amp;#39;m trying to get into the existing project which is contained in a huge mono repo with multiple applications. What is the best approach to get into the project soon?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/YourMomIsMyTechStack&quot;&gt; /u/YourMomIsMyTechStack &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10imj8x/getting_into_the_project_of_a_new_workplace/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10imj8x/getting_into_the_project_of_a_new_workplace/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10imj8x</id><link href="https://www.reddit.com/r/Angular2/comments/10imj8x/getting_into_the_project_of_a_new_workplace/" /><updated>2023-01-22T15:44:56+00:00</updated><published>2023-01-22T15:44:56+00:00</published><title>Getting into the project of a new workplace</title></entry><entry><author><name>/u/martin_al_scorsese</name><uri>https://www.reddit.com/user/martin_al_scorsese</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I have Angular web app which is not responsive for mobile devices. Design of mobile app is huge different of current desktop app.&lt;/p&gt; &lt;p&gt;I need advice on what is better to separate mobile web in new project inside current project or create inside current components mobile views (messy component?).&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/martin_al_scorsese&quot;&gt; /u/martin_al_scorsese &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10im15n/advice_needed_create_angular_mobile_view/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10im15n/advice_needed_create_angular_mobile_view/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10im15n</id><link href="https://www.reddit.com/r/Angular2/comments/10im15n/advice_needed_create_angular_mobile_view/" /><updated>2023-01-22T15:22:22+00:00</updated><published>2023-01-22T15:22:22+00:00</published><title>Advice needed, create Angular mobile view</title></entry><entry><author><name>/u/OkCow3204</name><uri>https://www.reddit.com/user/OkCow3204</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hi,&lt;/p&gt; &lt;p&gt;So i&amp;#39;m having a potato moment and just getting my head round RXJS. When i&amp;#39;m adding an employee, i&amp;#39;ve pushed it to the behavioursubject with the current list + the new employee added.&lt;/p&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;But how would i go about initializing that list with the getEmployees API? I was trying to do this.employees$ = this.employeeApi.getEmployees().subscribe(); in the constructor but i can&amp;#39;t subscribe to a behaviour subject!&lt;/p&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;any help will be appreacited, thank you!, below is my class.&lt;/p&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;pre&gt;&lt;code&gt;export class EmployeeService { readonly employees$: BehaviorSubject&amp;lt;Employee[]&amp;gt; = new BehaviorSubject([]); constructor(private employeeApi: EmployeeApiService) { // the below line doesn&amp;#39;t work because i can&amp;#39;t subscribe to a behavioursubject... how would i go about doing the following? this.employees$ = this.employeeApi.getEmployees().subscribe(); } addEmployee(employee: Employee) { return this.employeeApi.addEmployee(employee) .subscribe((success)=&amp;gt; { this.employees$.next(this.employees$ +employee); }) } getAllEmployees(): Observable&amp;lt;Employee[]&amp;gt; { return this.employees$; } } &lt;/code&gt;&lt;/pre&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/OkCow3204&quot;&gt; /u/OkCow3204 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10io8gi/help_rxjs_behavior_subject_subscribing_to_them/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10io8gi/help_rxjs_behavior_subject_subscribing_to_them/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10io8gi</id><link href="https://www.reddit.com/r/Angular2/comments/10io8gi/help_rxjs_behavior_subject_subscribing_to_them/" /><updated>2023-01-22T16:57:33+00:00</updated><published>2023-01-22T16:57:33+00:00</published><title>[HELP] RxJS Behavior subject &amp; subscribing to them... SIMPLE problem which i cant get my head around...</title></entry><entry><author><name>/u/manishsalunke</name><uri>https://www.reddit.com/user/manishsalunke</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10ikztl/mastering_javascript_closures_understanding_and/&quot;&gt; &lt;img src=&quot;https://external-preview.redd.it/xnTKFp09yErx_ShlXT-H7ksgC2NgoTjVSZCmkSjyJqE.jpg?width=640&amp;amp;crop=smart&amp;amp;auto=webp&amp;amp;s=6c785080ccc1efcb3df69df24827bc856fa348ff&quot; alt=&quot;Mastering JavaScript Closures: Understanding and Using this Powerful Feature&quot; title=&quot;Mastering JavaScript Closures: Understanding and Using this Powerful Feature&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/manishsalunke&quot;&gt; /u/manishsalunke &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://medium.com/p/3f372b502360&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10ikztl/mastering_javascript_closures_understanding_and/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10ikztl</id><media:thumbnail url="https://external-preview.redd.it/xnTKFp09yErx_ShlXT-H7ksgC2NgoTjVSZCmkSjyJqE.jpg?width=640&amp;crop=smart&amp;auto=webp&amp;s=6c785080ccc1efcb3df69df24827bc856fa348ff" /><link href="https://www.reddit.com/r/Angular2/comments/10ikztl/mastering_javascript_closures_understanding_and/" /><updated>2023-01-22T14:33:59+00:00</updated><published>2023-01-22T14:33:59+00:00</published><title>Mastering JavaScript Closures: Understanding and Using this Powerful Feature</title></entry><entry><author><name>/u/homelesspieceofshit</name><uri>https://www.reddit.com/user/homelesspieceofshit</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hey yall. Ive been programming with angular professionally for about a year and Ive somehow just discovered that the preferred way to use RxJS is to use it &lt;strong&gt;everywhere&lt;/strong&gt;. Im currently reading up on all of the techniques to start programming more reactively and I am starting to fall in love with the advantages but i have one fear. &lt;/p&gt; &lt;p&gt;How the heck am I supposed to explain what is going on in my codebase to a new junior thats never used RxJS or Angular? This seems like a huge disadvantage of RxJS. Is a reactive paradigm worth all of the headaches it might cause junior devs in my organization?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/homelesspieceofshit&quot;&gt; /u/homelesspieceofshit &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10hwlkm/explaining_reactive_programming_to_colleagues/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10hwlkm/explaining_reactive_programming_to_colleagues/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10hwlkm</id><link href="https://www.reddit.com/r/Angular2/comments/10hwlkm/explaining_reactive_programming_to_colleagues/" /><updated>2023-01-21T17:33:58+00:00</updated><published>2023-01-21T17:33:58+00:00</published><title>Explaining Reactive Programming To Colleagues</title></entry><entry><author><name>/u/THenrich</name><uri>https://www.reddit.com/user/THenrich</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;This is a write-up about my experience when I was choosing between DevExtreme and AG Grid. If you thought I chose AG Grid, you thought wrong. I explain why here. &lt;/p&gt; &lt;p&gt;(You use a commercial datagrid when you start needing advanced features like master-detail rows. A feature which I couldn&amp;#39;t find an open source grid supported.)&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://medium.com/@thenrich2009/ag-grid-vs-devextreme-datagrid-which-one-should-you-get-e0dd5bd4b6c4&quot;&gt;https://medium.com/@thenrich2009/ag-grid-vs-devextreme-datagrid-which-one-should-you-get-e0dd5bd4b6c4&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/THenrich&quot;&gt; /u/THenrich &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10i4wj8/my_thoughts_when_choosing_a_commercial_datagrid/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10i4wj8/my_thoughts_when_choosing_a_commercial_datagrid/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10i4wj8</id><link href="https://www.reddit.com/r/Angular2/comments/10i4wj8/my_thoughts_when_choosing_a_commercial_datagrid/" /><updated>2023-01-21T23:27:35+00:00</updated><published>2023-01-21T23:27:35+00:00</published><title>My thoughts when choosing a commercial datagrid</title></entry><entry><author><name>/u/__01000010</name><uri>https://www.reddit.com/user/__01000010</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10i4224/ive_followed_all_the_steps_for_installing_and/&quot;&gt; &lt;img src=&quot;https://b.thumbs.redditmedia.com/oUAN0IMErk51Disqs5NOanwdzq9wT3GM4uzQkGsT9Ok.jpg&quot; alt=&quot;Ive followed all the steps for installing and using the ngx-masonry (https://www.npmjs.com/package/ngx-masonry) library but still getting a blank screen. What possible issues might my code have?&quot; title=&quot;Ive followed all the steps for installing and using the ngx-masonry (https://www.npmjs.com/package/ngx-masonry) library but still getting a blank screen. What possible issues might my code have?&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/__01000010&quot;&gt; /u/__01000010 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/gallery/10i4224&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10i4224/ive_followed_all_the_steps_for_installing_and/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10i4224</id><media:thumbnail url="https://b.thumbs.redditmedia.com/oUAN0IMErk51Disqs5NOanwdzq9wT3GM4uzQkGsT9Ok.jpg" /><link href="https://www.reddit.com/r/Angular2/comments/10i4224/ive_followed_all_the_steps_for_installing_and/" /><updated>2023-01-21T22:50:09+00:00</updated><published>2023-01-21T22:50:09+00:00</published><title>Ive followed all the steps for installing and using the ngx-masonry (https://www.npmjs.com/package/ngx-masonry) library but still getting a blank screen. What possible issues might my code have?</title></entry><entry><author><name>/u/Accomplished_Ad7839</name><uri>https://www.reddit.com/user/Accomplished_Ad7839</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10hu0qo/diferentiating_dumb_components/&quot;&gt; &lt;img src=&quot;https://b.thumbs.redditmedia.com/rMXKWUsFYKBWZzTvVplXVHfQJjMoXnNSEclvQByIRtM.jpg&quot; alt=&quot;Diferentiating dumb components&quot; title=&quot;Diferentiating dumb components&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I have a dumb form input component that allows the parent component to be able to change the title if you click on it, but I want to be able to swap to another title(3). The problem is that if I use (1) on the dumb component, and click on one of the many dumb components I have, they all trigger together(2). What&amp;#39;s the correct way of fixing this so it only triggers on the component im focusing on and then clicking away from it (3)? (this would close the focused(input) component)&lt;/p&gt; &lt;p&gt;TLDR: I have many dumb components that open a form input, I want to be able to close only the dumb component that is open (the input is focused) (by close I mean just this.isEditing = false;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/2g1cw0pm1fda1.png?width=590&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=acdddd7de69b5ce3c66aad0574e4cf90c9b86078&quot;&gt;(1)&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/l33cgahk1fda1.png?width=454&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=3815b8eecea16c1c1195cf374c85b5892feafac7&quot;&gt;(2)&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/w6sxhr3k0fda1.png?width=720&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=c653df10307e1d08e16a8bc9bfc151ac21039d0c&quot;&gt;(3)&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Accomplished_Ad7839&quot;&gt; /u/Accomplished_Ad7839 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10hu0qo/diferentiating_dumb_components/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10hu0qo/diferentiating_dumb_components/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10hu0qo</id><media:thumbnail url="https://b.thumbs.redditmedia.com/rMXKWUsFYKBWZzTvVplXVHfQJjMoXnNSEclvQByIRtM.jpg" /><link href="https://www.reddit.com/r/Angular2/comments/10hu0qo/diferentiating_dumb_components/" /><updated>2023-01-21T15:42:14+00:00</updated><published>2023-01-21T15:42:14+00:00</published><title>Diferentiating dumb components</title></entry><entry><author><name>/u/MommasBoy_RockyBhai</name><uri>https://www.reddit.com/user/MommasBoy_RockyBhai</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I am facing an issue while working on a project. A link would navigate the user to a different component, and I want to incorporate a back button which would bring the user back to the home page. For example, if home path is &amp;quot;/&amp;quot; and child&amp;#39;s path is &amp;quot;/child&amp;quot;, a back button would bring the user back to &amp;quot;/&amp;quot;.&lt;br/&gt; However, I am finding that while it is redirecting me to the correct path, the content of the page isn&amp;#39;t being displayed. &lt;/p&gt; &lt;p&gt;Is there a proper way to route it back to the home component?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/MommasBoy_RockyBhai&quot;&gt; /u/MommasBoy_RockyBhai &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10hom5e/how_to_route_back_to_the_parent_component/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10hom5e/how_to_route_back_to_the_parent_component/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10hom5e</id><link href="https://www.reddit.com/r/Angular2/comments/10hom5e/how_to_route_back_to_the_parent_component/" /><updated>2023-01-21T10:50:08+00:00</updated><published>2023-01-21T10:50:08+00:00</published><title>How to route back to the parent component?</title></entry><entry><author><name>/u/rogerg93</name><uri>https://www.reddit.com/user/rogerg93</uri></author><category term="Angular2" label="r/Angular2"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hello. Like the question says what would be the best approach to fix failing unit tests on an existing project. It&amp;#39;s using the standard karma + jasmine setup and has around 150 components. When I run ng test all tests that have dependencies fail. If I want to write tests, is the only solution that I start preparing mocks for each dependency or add imports of real ones (as temporary integration). Is there a way to do it step by step in some way. Like to be informed that the setup is not ok but that it won&amp;#39;t ruin my build script if i start adding tests from now on and slowly add them for old components.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/rogerg93&quot;&gt; /u/rogerg93 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10hho3b/easiest_way_to_fix_unit_tests_in_existing_project/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Angular2/comments/10hho3b/easiest_way_to_fix_unit_tests_in_existing_project/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10hho3b</id><link href="https://www.reddit.com/r/Angular2/comments/10hho3b/easiest_way_to_fix_unit_tests_in_existing_project/" /><updated>2023-01-21T03:36:40+00:00</updated><published>2023-01-21T03:36:40+00:00</published><title>Easiest way to fix unit tests in existing project</title></entry></feed>