Coder Social home page Coder Social logo

deborahk / angular-rxjs Goto Github PK

View Code? Open in Web Editor NEW
536.0 536.0 628.0 1.12 MB

Sample Angular application that uses RxJS for reactive development. Find the associated Pluralsight course here: https://app.pluralsight.com/library/courses/rxjs-angular-reactive-development

License: MIT License

JavaScript 3.09% TypeScript 75.15% CSS 0.98% HTML 20.78%

angular-rxjs's Introduction

angular-rxjs's People

Contributors

deborahk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-rxjs's Issues

TypeError: Cannot read property 'filter' of undefined

When clicking the 'Refresh Data' button we receive - TypeError: Cannot read property 'filter' of undefined, in the following scenario:

In APM-WithExtras in product-list.component.html uncomment the 'Refresh Data' button and in product.service.ts replace the this.products$ observable with this.products2$ in the combineLatest operator for the productsWithCategory$ property like so:

productsWithCategory$ = combineLatest([ this.products2$, this.productCategoryService.productCategories$ ]).pipe( map(([products, categories]) => products.map(product => ({ ...product, price: product.price * 1.5, category: categories.find(c => product.categoryId === c.id).name, searchKey: [product.productName] }) as Product) ), shareReplay(1) );

The error is being thrown in product-list.component.ts on the products$ property due to the this.productService.productsWithCRUD$ observable being undefined following the scan operation.

Where is place for business validation in reactive development?

@DeborahK I sow your presentation on Angular conf and got interested for reactive development.
My question is, where is place for business validation for model that should be post to database. Business validation may depend on other parameters besides the model itself.
What would be approach/pattern for this case?

How to add spinner

On using async pipe on the components, angular subscribes the observable and my concern is on how to add spinner on page navigation if we use async pipe.

I walked your angular routing code and need some suggestions on how to implement the spinner
for routing if we use async pipe on components.

can I get same benefits if I use ngrx?

@DeborahK I watched your presentation on youtube and it was a great inspiration for me, to use combineLatest and shareReplay for caching and efficient Change Detection .
I am thinking of I use redux store implementations like ngrx or ngxs, I can get same benefits?

vulnerabilities

Hi Deborah
after instaling APM-START and APM-FINAL, follwing vulnerabilities were found
image

Just wanted to inform you. Maybe you can update the required packages.

Can't set breakpoint

Hi Deborah,

Why I can't set breatpoint to debug like other applications when cloned this application?

Any suggestions?

Thanks,

HL

bug: Re-add product when navigating to route.

Hi, Deborah!

Re-add product when navigating to route.

steps:
1)Start app APM-WithExtras
2) navigate to 'Products (With Re-get)' and 'Add Product'.
3) navigate to any application address.
4) navigate to 'Products (With Re-get)'.

#77 solves the problem.

Thx @DeborahK !

230 high severity vulnerabilities

There are 230 high severity vulnerabilities in this version of the repo. See image.

After running: npm install, I ran npm audit fix, and they all went away. Recommend running and pushing the solution back into source. Best to you, Karl

2019-09-26_15-39-22

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.