-
Notifications
You must be signed in to change notification settings - Fork 126
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
Drop React from peerDependency and rely on passing it in. #24
Conversation
I want to see this merged as well. @AsaAyers Why did you change the name of the package in your fork? Prevents me from using it. In such cases I usually just change the dependency origin to the one of the fork I want, rather than installing a package with a different (and possibly invalid) name. |
You have to change the name when it's a namespaced package on npm. I wouldn't have changed it if I could have voided it. How does it prevent you from using it? Seems to me like you should have |
You can |
It usually doesn't if the project is using a transpiles. I'd bet you can't
|
I just checked, this project can't be installed from git.
The reason is the
|
I'd love for my fork to be temporary but I don't think it will be. I'm pretty sure there's some conflicts, but when I get a chance I'll probably pull #26 into my fork too. |
Assigning to Angus to evaluate. |
|
Drop React from peerDependency and rely on passing it in.
Awesome! Sorry for the delay @AsaAyers I've been caught up in other things, but it seems like it's no longer relevant. |
With this PR instead of
react-a11y
requiring React directly, you just pass your own React in.Closes #23
Closes #18
Fixes #16
Note: This and all of my other PRs are available with
npm install @asaayers/react-a11y
@asaayers/react-a11y