# React web app issue after migrating to ionic react

**URL:** <https://forum.ionicframework.com/t/react-web-app-issue-after-migrating-to-ionic-react/248687>\
**Category:** Ionic React\
**Created:** [July 26, 2025, 7:19am UTC](https://forum.ionicframework.com/t/react-web-app-issue-after-migrating-to-ionic-react/248687 "2025-07-26T07:19:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rawdaymohamed](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@rawdaymohamed](https://forum.ionicframework.com/u/rawdaymohamed)\
**Post date:** [July 26, 2025, 7:19am UTC](https://forum.ionicframework.com/t/react-web-app-issue-after-migrating-to-ionic-react/248687/1 "2025-07-26T07:19:46Z")

</div>

I have a react app using create react app and css that I migrated to Ionic react. Everything is working fine except when I logout and login again some pages need to refresh before it works correctly. I am using react v17.0.2 and react-router-dom v5.3.0 with ionic react v8.6.5.  
I am using react-router-dom Link for navigation

---

<div class="post-metadata">

**Author:** ![ptmkenny](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@ptmkenny](https://forum.ionicframework.com/u/ptmkenny)\
**Post date:** [July 28, 2025, 6:23am UTC](https://forum.ionicframework.com/t/react-web-app-issue-after-migrating-to-ionic-react/248687/2 "2025-07-28T06:23:49Z")

</div>

How are you handling log in and lo out? If you’re using cookies, it may be that the cookie is not getting cleared properly; I have had issues where capacitor doesn’t clear the cookie correctly depending on the browser.
