Skip to content

Commit

Permalink
Remove final usage of createReactClass and dependency. (#2034)
Browse files Browse the repository at this point in the history
## Summary:
Removing the final usage of createReactClass and create-react-class dependency from Perseus.

Issue: LEMS-2668

## Test plan:
Run yarn test.
Go to ?path=/story/perseuseditor-widgets-interactive-graph--interactive-graph-polygon (or any widget editor)
Select `Developer JSON Mode`
Confirm you can edit and modify the json object.

Author: catandthemachines

Reviewers: catandthemachines, jeremywiebe

Required Reviewers:

Approved By: jeremywiebe

Checks: ✅ Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x), ✅ Publish npm snapshot (ubuntu-latest, 20.x), ✅ Check builds for changes in size (ubuntu-latest, 20.x), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 20.x), ✅ Publish Storybook to Chromatic (ubuntu-latest, 20.x), ✅ Cypress (ubuntu-latest, 20.x)

Pull Request URL: #2034
  • Loading branch information
catandthemachines authored Dec 19, 2024
1 parent b80e788 commit 8e9b239
Show file tree
Hide file tree
Showing 8 changed files with 223 additions and 153 deletions.
6 changes: 6 additions & 0 deletions .changeset/brown-eagles-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@khanacademy/perseus": patch
"@khanacademy/perseus-editor": patch
---

Removing final usage of createReactClass.
2 changes: 0 additions & 2 deletions packages/perseus-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"@phosphor-icons/core": "^2.0.2",
"aphrodite": "^1.2.5",
"classnames": "1.1.4",
"create-react-class": "15.6.3",
"jquery": "^2.1.1",
"katex": "0.11.1",
"perseus-build-settings": "^0.4.2",
Expand Down Expand Up @@ -92,7 +91,6 @@
"@phosphor-icons/core": "^2.0.2",
"aphrodite": "^1.2.5",
"classnames": "1.1.4",
"create-react-class": "15.6.3",
"jquery": "^2.1.1",
"prop-types": "15.6.1",
"react": "^18.2.0",
Expand Down
Loading

0 comments on commit 8e9b239

Please sign in to comment.