davideast / angular-universal-express

A (somehow even simplier) setup for Angular Universal and Express.
37 stars 4 forks source link

update: code Improvements recommended #4

Closed ThomasBurleson closed 7 years ago

ThomasBurleson commented 7 years ago

index.ts

davideast commented 7 years ago

Hey @ThomasBurleson! Thank you for these recommendations.

I overlooked the teardown function, great catch!

As the other two go here are my thoughts:

Please let me know if I'm wrong in my understanding and I'll be happy to make the changes.

ThomasBurleson commented 7 years ago

@davideast - understood. I like your technique for mergeMap().take(1)... thx for your responses.

davideast commented 7 years ago

@ThomasBurleson Thanks for the kind discussion!