Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeStar1403-FE-Phase07-Team[07 #845

Open
10 tasks done
Arash-Azarpoor opened this issue Aug 4, 2024 · 0 comments
Open
10 tasks done

CodeStar1403-FE-Phase07-Team[07 #845

Arash-Azarpoor opened this issue Aug 4, 2024 · 0 comments
Assignees
Labels

Comments

@Arash-Azarpoor
Copy link

Arash-Azarpoor commented Aug 4, 2024

  • Learning

    • Explain about observer design pattern? Lets you define a subscription mechanism to notify multiple objects about any events that happen to the object they’re observing
    • What is the difference between Hot and Cold observable? Cold observable is unicast, but Hot is multicast. Cold Observables create a producer during subscription and every subscriber receives its own producer. Hot Observables have the producer created outside of the stream or Observable. With Cold Observables, a new producer functionality is triggered and each Observer receives a different value. Hot Observables on the other hand, allow you to share the produced values between all the Observers.
    • What is the difference between Subject and BehaviorSubject? Subject does not have default values and will not have the previous value, whereas behaviorSubject will hold the previous value. Also, in Subject , once you emit the value, it will give the value to the subscriptions before the emission, whereas behaviorSubject will emit the values to all the subscribers.
    • Suppose that we have a pipe for filtering data, which operator we should use? filter
    • What's the difference between these operators: switchMap, mergeMap, concatMap and exhaustMap? switchMap: Cancels the previous inner observable and switches to the new one, useful for handling the latest data. mergeMap: Maps to multiple inner observables and merges their emissions, useful for concurrent processing. concatMap: Maps to inner observables and processes them sequentially, waiting for each to complete before starting the next. exhaustMap: Ignores new emissions while the current inner observable is active, useful for rate-limiting operations.
    • How can we connect our angular app to backend? Using HTTPClient in Rxjs
    • How can we show data in html template without subscribe on observable using pipe? async pipe
  • Project

    • Complete all practice and project.
@Arash-Azarpoor Arash-Azarpoor changed the title CodeStar[YEAR]-FE-Phase07-Team[TEAM_NUMBER] CodeStar1403-FE-Phase07-Team[07 Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants