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

Alter react lifecycle methods to match current deprecation #6

Merged
merged 1 commit into from
Jul 16, 2020
Merged

Alter react lifecycle methods to match current deprecation #6

merged 1 commit into from
Jul 16, 2020

Conversation

mikehardy
Copy link
Contributor

This is the result of running the approved tool for the purpose:
npx react-codemod rename-unsafe-lifecycles answering '.' and 'javascript with flow'

This is connected to improvement of the out-of-the-box development experience
in ReactXP TodoList sample which still uses this navigation library

microsoft/reactxp#1214

Without this commit merged, the native app throws warnings immediately,
with it the dev experience should be completely warning free

This is the result of running the approved tool for the purpose:
`npx react-codemod rename-unsafe-lifecycles` answering '.' and 'javascript with flow'

This is connected to improvement of the out-of-the-box development experience
in ReactXP TodoList sample which still uses this navigation library

microsoft/reactxp#1214

Without this commit merged, the native app throws warnings immediately,
with it the dev experience should be completely warning free
@mikehardy
Copy link
Contributor Author

@dryganets - you appear to be El Jefe around here, what do you think?

@dryganets
Copy link
Contributor

@mikehardy, the change looks fine to me.
You probably want to keep both safe and unsafe versions to make sure that it will work with both versions of react.

It would be good to get in touch with some folks who is working on Skype.
I'm not sure if they upgraded to the react with unsafe methods yet and if those are connected through resub.
@rigdern could help you to connect with right people or correct me if I'm wrong.

I left Skype a year ago, so I likely to have an outdated context.

@mikehardy
Copy link
Contributor Author

Resub has the unsafe methods now - it was a big change microsoft/ReSub#118 - but done late October 2019 - no idea on Skype status and I have no contacts myself, sorry. I just offer patches to ReactXP mostly, as a motivated consumer of the tech

@deregtd
Copy link

deregtd commented Jul 6, 2020

I'm not sure who still has admin access to this repo. @erictraut ?

@erictraut
Copy link

I don't have admin access to this repo. I think @dryganets set it up, so I'm guessing he has access. Sergei, if that's correct, could you please switch admin access over to me?

@dryganets
Copy link
Contributor

@erictraut, @deregtd this is Microsoft repository.
So, we need someone inside the company to take this change in.
Originally I gave the write permissions to everyone in the Davids team, it should be available through the Microsoft opensource tool.

let me check if I still can merge it :)
Technically I shouldn't have a permission anymore.

@dryganets
Copy link
Contributor

nope, no write access.

@dryganets
Copy link
Contributor

@rigdern has committed to the https://github.com/Microsoft/v8-docker-buildscript recently. That repository is in the same permissions group.

@rigdern
Copy link

rigdern commented Jul 6, 2020

I just gave @erictraut permissions to the repo.

Also, if we need a Skype contact, @danmuresan is a current Skype engineer with access to Skype's open source repos.

@danmuresan
Copy link
Contributor

Approved. We will try to add more Skype engineers to the permission group in the near future

@mikehardy
Copy link
Contributor Author

Great! Thanks everyone

@deregtd
Copy link

deregtd commented Jul 7, 2020

I think you need to merge it too, Dan. :)

@mikehardy
Copy link
Contributor Author

@danmuresan I think it's ready for merge and just needs the magical button press ;-)

@danmuresan
Copy link
Contributor

Sorry about the delay, I thought the requester can merge the PR once approved. Done

@danmuresan danmuresan merged commit 9a5d6dd into microsoft:master Jul 16, 2020
@mikehardy mikehardy deleted the react-lifecycle-shift branch July 16, 2020 16:13
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

6 participants