DEV Community

Discussion on: 53 Things I Learned Writing a Multiplayer Strategy Game in Javascript and Python

noway profile image


Does anyone know if error boundaries in react are sort of deprecated? The point about error boundaries and getDerivedStateFromError brought me to thinking that rendering an error state ui is something you are not supposed to do in react? What is a proper way then?

aduranil profile image
Lina Rudashevski Author

hmm i dont see anything about it being deprecated, its still in the official docs without any deprecation warnings. do you have a source where you saw its deprecated? i would love to know more