Just refresh a tab or not the page
问题 I'm having a little problem with ReactJs. I have a page with several tabs and in each tabs I have a button that refresh the page so when I click on the refresh button it goes back to tab 1 while the refresh happens in tab 2 while I want tab 2 to remain open after refresh. I want after the refresh tab 2 stays open Example photo: Before refresh: After refresh: I want after the refresh tab 2 stays open... Here is my code: import React, { Component } from 'react'; import { render } from 'react