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
Deprecate custom ID generation APIs from Wonder Blocks (#2007)
## Summary:
Welcome to the Wonder Blocks 1812 Overture - a series of PRs that will deprecate and remove the custom ID generation utilities in favour of React's `useId` and the new `Id` component that is built atop of it.
This updates dependencies in Perseus to latest webapp dependencies (used the sync script for that), and includes the soon to be released Wonder Blocks that deprecates the custom ID generation utilities in favour of React's `useId` and the new `Id` component that is built atop of it.
An upcoming PR will then have the work of removing the old API uses so that we can then delete them from a future Wonder Blocks release.
NOTE: I will update this to the actual released WB before landing, once that happens. I am trying to get everything reviewed and ready to go so that when I do that release, I can get everything up-to-date quickly and correctly.
Issue: WB-1812
## Test plan:
`yarn test`
`yarn lint`
Author: somewhatabstract
Reviewers: anakaren-rojas, mark-fitzgerald, catandthemachines, somewhatabstract
Required Reviewers:
Approved By: anakaren-rojas, mark-fitzgerald, catandthemachines
Checks: ⌛ Publish npm snapshot (ubuntu-latest, 20.x), ⌛ Check builds for changes in size (ubuntu-latest, 20.x), ✅ Cypress (ubuntu-latest, 20.x), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 20.x), ⌛ Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x), ⌛ Publish Storybook to Chromatic (ubuntu-latest, 20.x)
Pull Request URL: #2007
Copy file name to clipboardExpand all lines: .eslintrc.js
+20
Original file line number
Diff line number
Diff line change
@@ -289,6 +289,26 @@ module.exports = {
289
289
message:
290
290
"Use of React.FC<Props> is disallowed, use the following alternative: https://khanacademy.atlassian.net/wiki/spaces/ENG/pages/2201682693/TypeScript+for+Flow+Developers#Functional-Components",
0 commit comments