I don't like this but I agree with many people here saying it was kind of rushed. In my opinion the author could have done a much better job by not killing Tanjirou and reviving him as a demon afterwards for him to be turned back to normal in 2-3 chapters. I don't know why it had to be rushed...