Replies: 1 comment
-
If you want to update which tab is showing, you have no choice but to use state, that is how interactivity works in React. Not everything needs to be a server component either. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How would i use defaultValue, value, or onValueChange props of the radix Tabs component so that I change the tab programmatically when some could in my react context runs? I hav a function in context that sets the tab on a page to switch to a different tab. I dont want to use state because the tabs are in a server component.
Beta Was this translation helpful? Give feedback.
All reactions