some article but have been confused. could we use ErrorBoundry in functional components too?
what about wrapping by try catch?
you should use errorboundary for handling general errors in the overall application. It is a class component so you need to write on it’s own wrap your entry point with it. Try catch or any other techniques should be used in individual components
Ok then I will do that, thanks OGB
david, could I have your opinion about this too? If you have time?
Обсуждают сегодня