-
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
Loosen react dep allowing 16+, add ReactDOM to externals #11
Conversation
Ok, I can confirm: I tested with React 16 on multiple inputs and it works. One of the issues that may arise is (and that happened to me was) TypeError: this.updater.enqueueCallback twisty/formsy-react-components#118 |
This fixes #7 |
From what I can tell, this looks good. I'll try to get it running on my project again today. One odd thing is the release folder being included in the PR. Should we do that? Seems like it would be fragile in merges. I imagined we would only update that in release commits where we updated the version numbers, but I don't know. |
Nope, you're right, release folder shouldn't be in the PR unless we want to let users try importing UMD versions. Lib folder instead should be included, since it targets es5 projects, and it's needed in many cases, but thats my opinion. We can allow both using package.json, whats your idea? |
We should put whatever package.json main is pointing to (currently lib) in the repo if we want people to be able to use it with github urls in package.json. Currently |
@MilosRasic if you use it from repo directly yes, you'd need |
@apuntovanini Thanks. I'd also like to test with 1.0.1 before switching to the React 16 branch. Can someone please release 1.0.1 on npm? @rkuykendall, @twisty ? |
If we release master branch we won't have access to lib anyway, can you send a PR for the lib folder added in the repo? This PR needs more tests to land in master, so we need another @MilosRasic |
@apuntovanini @MilosRasic Looks like I have NPM access. I'll create a PR to add lib and bump the version number. |
Cool! That means that I do have access as well? :)
Inviato da iPhone
Il giorno 13 nov 2017, alle ore 15:28, Miloš Rašić <notifications@github.com<mailto:notifications@github.com>> ha scritto:
@apuntovanini<https://github.com/apuntovanini> Thanks. I'd also like to test with 1.0.1 before switching to the React 16 branch. Can someone please release 1.0.1 on npm? @rkuykendall<https://github.com/rkuykendall>, @twisty<https://github.com/twisty> ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#11 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABGyZQXpmhW8jhoKQ3i00kGR2ZSGWYVmks5s2FIggaJpZM4QY1og>.
|
I don't think so? Is one of these you? I'm actually not that familiar with how NPM manages permissions.
|
I bumped the version number and ran |
Ok, no 😢 I don't have access. I'll ask @aesopwolf to add me if I gained enough trust 😄 |
Bump version number to v1.0.1
… warning, replicated some of the tests
@apuntovanini Did the rebase go sideways? It seems like the PR now contains a lot of commits / changes that have already been applied to master, which is odd. |
Ok, I may’ve got lost in this, but as of my understanding now the PR is aligned with 1.0.2 and the merge would work. But to be honest I always get lost in PR that should be realigned with master... what do you suggest? |
Ok, I've tested the 1.0.2 with https://github.com/gogoair/react-formsy-combo-select with the latest version of React installed. For some reason my version of npm didn't duplicate React even though formsy-react requires ^15.6.1. Everything works fine, no warnings or other issues. Can we resolve the rebase issue and merge tihs? I'm afraid I can't help much since I don't have much experience with rebasing. @apuntovanini maybe you can just squash some of the commits into one? Either way, it will take some time to move my multi-repo project at work to React 16, and I'm on vacation, so I wouldn't like to hold this back. I'm in favour of just publishing 1.1.0 with React 16 support at this point. If we find something wrong we can always quickly publish a fix or two. |
@MilosRasic I think I'll close this PR in favour of a new one tonight, so that we can merge this. I agree with a 1.1.0 release, we can fix it either way if issues arise, and if we didn't release it we'd never find out 😄 , so, yes, I'll be working on it tonight and we'll be ready to go! |
Yeah, we're going to make mistakes, but I think that's better than being frozen by doubt. If we just keep this project moving and very responsive to feedback / bug reports and we should be fine. |
This can be a WIP for allowing React 16. Tests passed without problems, still need to check in some concrete examples, but no big issues so far.
Am I missing something? Seemed too easy, there must be something I am missing out 😄