Anıl Anar
Anıl Anar
Error swallowing should be opt-in. I'd like to swallow certain errors and not others: ``` componentDidCatch(error) { // I'd like to swallow the error if (error instanceof MyExpectedError) { //...
@EyalPerry hit the nail on the head. Is there anything more to say? Shall we patch `console.error`?
Don’t close. We can’t seriously unconditionally log this anymore.
I suppose this is still not fixed in React 18 alpha. We still have hopes for stable 18 release.
@adamdupuis I think the project is on complete halt.
Related to #226.
There's no such example in docs. And your example obviously won't work.
First of all, it needs to be ``` ``` and this won't work because Angular won't like nested interpolatable stuff, i.e. nested curly brace expressions.
Yes, that's indeed a workaround. Don't you think such a workaround should make it into angular-gettext?