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 0.14 support #1790

Merged
merged 4 commits into from
Oct 6, 2015
Merged

React 0.14 support #1790

merged 4 commits into from
Oct 6, 2015

Conversation

TheUltDev
Copy link
Contributor

  • Updated react-draggable2 to 0.7.0-alpha1 which contains React 0.14 compatibility fixes.
  • Replaced "rm -rf" with rimraf for cross-platform support.
  • Updated dependencies to remove warnings in newer versions of Node [React 0.14 - TaskList #1782]

TheUltDev and others added 2 commits October 3, 2015 03:56
Temporarily included personal fork until pull-request is accepted upstream.
- Replaced unix command with rimraf for cross-platform support
- Updated dependencies to resolve warnings
- Updated to temporary fork of react-draggable2 with 0.14 support.
@@ -68,6 +75,7 @@
"phantomjs": "^1.9.17",
"react-hot-loader": "^1.2.8",
"react-router": "^1.0.0-rc1",
"rimraf": "^2.4.3",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it a peerDependency and not a dependency?
I feel like this is not link to react v0.14 and should be added to master

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not, it's a devDependency. You may have to expand your diff.
True, but I needed Windows compatibility to test and continue developing this branch.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh sorry, I'm on my phone.

Contains React 0.14 compatibility fixes.
@TheUltDev TheUltDev mentioned this pull request Oct 4, 2015
8 tasks
@shaurya947
Copy link
Contributor

Do we agree on merging this PR? Or is there another approach that we'd rather take? @Cavitt @cgestes @oliviertassinari

@TheUltDev
Copy link
Contributor Author

I moved the dependencies needed for testing into dev dependencies.
I thought I had tried this setup previously and was receiving warnings, but everything is working fine.

Test dependencies generally go in dev dependencies in my experience, let me know if this doesn't work for you guys and I'll come up with another way.

@oliviertassinari
Copy link
Member

That's fine for me 👍

@cgestes
Copy link
Contributor

cgestes commented Oct 6, 2015

👍

@shaurya947
Copy link
Contributor

Merging this then. Thanks @Cavitt

shaurya947 added a commit that referenced this pull request Oct 6, 2015
@shaurya947 shaurya947 merged commit 488bca5 into mui:react-0.14-support Oct 6, 2015
@shaurya947
Copy link
Contributor

I just tried pulling this branch, rebasing with master, and resolving conflicts using the code in this branch. I ran npm start but getting a bunch of errors regarding react, babel-runtime, history and react-router.

I'm looking into it but thought I'd let you guys know so we can get this working soon.

@zannager zannager added the docs Improvements or additions to the documentation label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants