DEV Community

Ali Hussain Dhuniya
Ali Hussain Dhuniya

Posted on

Part - 2: React App behaving like a Multi-Page - Div id root gets refreshed on new page load. Is it still a SPA?

In this previous part, the React App is fine but sidebar and footer component is common in all pages so we should removed from all pages and put in single App.js file.

Now the styling part is left

Alt Text

Alt Text

Reddit Discussion: https://www.reddit.com/r/reactjs/comments/i8t1v4/div_id_root_get_refreshed_while_navigating_menus/

Top comments (0)