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
If the developer uses a different id scheme for Tabs.Item and Tabs.Panel, the two will not be connected and it isn't always obvious why. It could be a typo. Since there may be a valid reason for a developer to use a different data-id, it should be a dev-only warning with a helpful suggestion.
Motivation
I think it would waste less time overall if the system could give useful and contextual information. Both less time wasted by product developers and less time spent by maintainers.
💡 Suggestion
If the developer uses a different id scheme for
Tabs.Item
andTabs.Panel
, the two will not be connected and it isn't always obvious why. It could be a typo. Since there may be a valid reason for a developer to use a differentdata-id
, it should be a dev-only warning with a helpful suggestion.Motivation
I think it would waste less time overall if the system could give useful and contextual information. Both less time wasted by product developers and less time spent by maintainers.
Example
The text was updated successfully, but these errors were encountered: