Display edited article comment after edited the article comment in React js

Hello,
I did to edit article comments by using Modal in react js. But the problem that I faced after edited the comment of the article, the article page not refreshed automatically. I have to click the refresh button in the url bar. I didn’t find that I missed. Can anyone give me suggestion or help? Thanks

Do you have your project code somewhere?