Philipp Czarnetzki
Philipp Czarnetzki
> Error Boundaries [Error Boundaries](https://reactjs.org/docs/error-boundaries.html#introducing-error-boundaries) are a general concept in React to catch runtime errors that happen during rendering, which allows us to react (pun intended) properly to them and...
> I prefer handling them in the onError method. I dont think `onError` is built for handling errors as a `try catch` would, its just a callback to inform the...
> It appears that @tanstack/angular-query has a built-in mechanism to prevent errors from propagating. > > allPosts$ = () => > this.#http > .get('https://jsonplaceholder.typicode.com/posts') > .pipe( > tap(() => {...