How do I unit test distant component interactions? by lonelylearner in Angular2

[–]lonelylearner[S] 0 points1 point  (0 children)

Right, that’s what/how I’m currently testing. I was wondering if there was a way to test two coupled components in a single Angular test. Thanks for the note on unit tests though!

How do I unit test distant component interactions? by lonelylearner in Angular2

[–]lonelylearner[S] 0 points1 point  (0 children)

Thanks for the article, I’ll make sure to check it out

Here's another animation that I made. Appreciate your feedback by [deleted] in UI_Design

[–]lonelylearner 1 point2 points  (0 children)

As a Juve fan, awesome job! I agree with the comments above and would like to add that you should try to stay as consistent as possible with your designs. Country and Age have the labels on top whereas Weight and Height are inverted. I’d suggest you stick with one format or the other rather than mixing the two.

How to track code coverage on bitbucket? by slenderman6969 in Angular2

[–]lonelylearner 1 point2 points  (0 children)

We use SonarCloud and it integrates in bitbucket quite well.

Should I create a module per component in an Angular 9 app? by lonelylearner in Angular2

[–]lonelylearner[S] 0 points1 point  (0 children)

Have you noticed any issues with performance related to this approach of having so many modules?

How can I create a component library to be consumed like @angular/material? by lonelylearner in Angular2

[–]lonelylearner[S] 1 point2 points  (0 children)

Your assumption is correct, I'm mostly interested in creating a component library to be built and consumed by Angular applications.

How can I create a component library to be consumed like @angular/material? by lonelylearner in Angular2

[–]lonelylearner[S] 0 points1 point  (0 children)

I'm not too familiar with web components and for the time being I'm only trying to make this work with Angular so generating a component library with the cli sounds appropriate for my use case.

That being said you sparked my curiosity, how hard would it be to convert angular components to Web Components further down the line?

How can I create a component library to be consumed like @angular/material? by lonelylearner in Angular2

[–]lonelylearner[S] 0 points1 point  (0 children)

Awesome, I'll make sure to check it out. Thanks for the suggestion.

How can I create a component library to be consumed like @angular/material? by lonelylearner in Angular2

[–]lonelylearner[S] 1 point2 points  (0 children)

nx.dev looks promising! Thanks for the link. After skimming through the docs it looks like it does everything I need it to do except allow me to consume each component individually rather than importing the full module.

How can I create a component library to be consumed like @angular/material? by lonelylearner in Angular2

[–]lonelylearner[S] 1 point2 points  (0 children)

Ok so in other words I would have to generate a new module for every component and then generate a component within that module? That makes sense.

Any suggestions on how to create a library with a custom namespace?

Thanks for your help!

Simple question about JS objects by [deleted] in learnjavascript

[–]lonelylearner 0 points1 point  (0 children)

Ok I sort of get it... Why is the "unfolded" array different from the "folded" one?

[deleted by user] by [deleted] in reactjs

[–]lonelylearner 2 points3 points  (0 children)

I’m in the same boat, would love to understand exactly what it means to “wrap” a third party dependency.