You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allows reseting the internal id counter which is used to generate unique id's for tabs and tab panels.
60
+
61
+
You should never need to use this in the browser. Only if you are running a isomorphic react app that is rendered on the server you should call `resetIdCounter()` before every render so that the ids that get generated on the server match the ids generated in the browser.
62
+
63
+
```js
64
+
import { resetIdCounter } from'react-tabs';
65
+
66
+
resetIdCounter();
67
+
ReactDOMServer.renderToString(...);
68
+
```
69
+
70
+
## Components
58
71
59
72
react-tabs consists of 4 components which all need to be used together.
0 commit comments