loading...

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

alidhuniya profile image Ali Hussain Dhuniya ใƒป1 min read

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/

Discussion

pic
Editor guide