Posts

Showing posts from August, 2018

ComponentDidCatch & Error Boundary: Error Handling In React 16

Image
Well, the time is changing and so is react. We have React 16 now and things are changing here. With various new features, there's something which gives us more control over the exceptions. React 16 introduced a new lifecycle method that is componentDidCatch. What is it? and How we can take advantage of it.