Skip to content

Update dependencies #940

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

Merged
merged 1 commit into from
Nov 4, 2020
Merged

Update dependencies #940

merged 1 commit into from
Nov 4, 2020

Conversation

ardatan
Copy link
Member

@ardatan ardatan commented Nov 2, 2020

No description provided.

Copy link
Member

@saihaj saihaj left a comment

Choose a reason for hiding this comment

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

We can use the new JSX transform. React team provides a codemod to remove all import React from ‘react’

@orta
Copy link
Member

orta commented Nov 2, 2020

Do you want to do the transformed @ardatan? I don't end either way

@ardatan
Copy link
Member Author

ardatan commented Nov 3, 2020

I was afraid of breaking things. Let's leave it in a different PR.

@saihaj
Copy link
Member

saihaj commented Nov 3, 2020

We could have used this new transform syntax in #938 since that was a feature added in v16.14 but I missed to point that out in review.

According to release blog post. They changed event delegation and a few other non breaking issues. I don’t think any of the changes will affect us. Purpose of this version is to make it easier to gradually upgrade react’s future versions.

Sure we can get that in a new PR

@Urigo
Copy link
Contributor

Urigo commented Nov 4, 2020

I've reviewed and everything works as expected so I'm merging, but that doesn't mean we shouldn't move to the new JSX transform as @saihaj suggested!
I suggest we'll try from now on to keep PRs small and easy to merge, so we could move more quickly.

@saihaj that's a good idea, are you up to creating a new PR with the new transform?

@Urigo Urigo merged commit 4199ebf into graphql:source Nov 4, 2020
@saihaj
Copy link
Member

saihaj commented Nov 4, 2020

I can get something in today

@ardatan ardatan deleted the update-dependencies branch November 4, 2020 15:07
@saihaj
Copy link
Member

saihaj commented Nov 4, 2020

@Urigo turns out gatsby has disabled automatic JSX runtime temporarily gatsbyjs/gatsby#27615. We need to wait for a new Gatsby release before we refactor.

ydfzgyj added a commit to ydfzgyj/graphql.github.io that referenced this pull request Nov 13, 2020
ydfzgyj added a commit to ydfzgyj/graphql.github.io that referenced this pull request May 23, 2021
jonirrings pushed a commit to xitu/graphql.github.io that referenced this pull request May 24, 2021
* sync 20201029

* cherrypick: Gatsby Migration

* cherrypick: More changes

* Fix Learn sidebar

* Fix issues

* Fix search bar jumping issue

* Fix links at home page

* Add netlify.toml file

* Fix key prop issues

* bring back notes

* Fix search for gatsby site

* move Chinese to new index page

* site meta

* Merge pull request graphql#940 from ardatan/update-dependencies

Update dependencies

* chore(deps): update dependencies

* Sync 20201112

Co-authored-by: Arda TANRIKULU <[email protected]>
Co-authored-by: Orta <[email protected]>
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.

4 participants