Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-dom is external peerDependency, just like react. #1067

Merged
merged 1 commit into from
Oct 26, 2018

Conversation

sbusch
Copy link
Contributor

@sbusch sbusch commented Oct 26, 2018

fixes version conflicts, e.g. I got an error

Uncaught TypeError: this.updater.enqueueCallback is not a function when using setState callback

because I use React 16.x and react-jsonschema-form bundled react-dom 15.x

See facebook/react#10320 (comment)

  • I'm updating documentation
  • I'm adding or updating code
    • I've added and/or updated tests
    • I've updated docs if needed
    • I've run npm run cs-format on my branch to conform my code to prettier coding style
  • I'm adding a new feature
    • I've updated the playground with an example use of the feature

fixes version conflicts, e.g. I got an error

  Uncaught TypeError: this.updater.enqueueCallback is not a function when using setState callback

because I use React 16.x and react-jsonschema-form bundled react-dom 15.x

See facebook/react#10320 (comment)
@glasserc
Copy link
Contributor

It's kind of unfortunate that we can't require same versions of both react and react-dom. Still, this seems like an improvement to me..

@glasserc glasserc merged commit 8f34a45 into rjsf-team:master Oct 26, 2018
@sbusch sbusch deleted the fix-conflicting-react-dom branch October 29, 2018 06:31
althalus86 added a commit to althalus86/react-jsonschema-form that referenced this pull request Nov 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants