Create an environment with react 16.14.0, @carbon/react@v.1.63.0 and a storybook set up.
Run npm run storybook-smoke-test and observe warning about useId
Suggested Severity
Severity 1 = Must be fixed ASAP. The response must be swift. Someone from the team must drop all current work and be immediately reassigned to address the issue.
Package
@carbon/react
Browser
No response
Package version
v1.63.0
React version
16.14.0
Description
A recent PR - https://github.com/carbon-design-system/carbon/pull/16988, which was part of the
v1.63.0
release of@carbon/react
has moved to usinguseId
in more places. There is handling for the correct version here https://github.com/carbon-design-system/carbon/blob/f22da5a696bd891a58aa0fc4c81f0fbe0030ba5d/packages/react/src/internal/useId.js#L26 but this seems to not be working since that PR.When running a storybook-smoke-test (
npm run storybook-smoke-test
) we are seeing:I believe the initial PR to fix this was https://github.com/carbon-design-system/carbon/pull/14153, and I can't see that file being changed since so it's not immediately obvious why it's no longer working.
Reproduction/example
react@16.14.0, @carbon/react@1.63.0
Steps to reproduce
16.14.0
,@carbon/react@v.1.63.0
and a storybook set up.npm run storybook-smoke-test
and observe warning aboutuseId
Suggested Severity
Severity 1 = Must be fixed ASAP. The response must be swift. Someone from the team must drop all current work and be immediately reassigned to address the issue.
Application/PAL
Cloud Pak For Integration (Platform UI)
Code of Conduct