-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Update doc replace to vite #11352
Update doc replace to vite #11352
Conversation
@gento-ogane: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/ |
|
Name | Link |
---|---|
🔨 Latest commit | 32b4dc7 |
|
Thanks for the contribution @gento-ogane! We'll do our best to get to this PR as soon as we can. A couple of our team is at conferences this week so we may be a bit slow to get to this. Apologies in advance! |
docs/shared/link-chain.mdx
Outdated
@@ -1,4 +1,4 @@ | |||
```js title="index.js" | |||
```jsx title="main.jsx"" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you change it to jsx
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @gento-ogane 👋
I am so sorry it took me so long to get back to you on this PR! I had some time to sit down and run through the getting started to make sure everything still worked/made sense and all looks good!
The only change I'd request you make is reverting the changes in type/filenmae to all docs except the "Getting started" page. Once you're done there, I'd be happy to approve this PR and get this merged. Thanks so much for your patience 🙏
docs/shared/link-chain.mdx
Outdated
@@ -1,4 +1,4 @@ | |||
```js title="index.js" | |||
```jsx title="main.jsx"" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to revert the changes to all the non-introductory docs back to index.js
. I think it makes sense in the context of the vite-specific documentation, but for the rest of it, index.js
is a fairly common, tool agnostic name.
On a separate note, it looks like you have an extra "
at the end here 🙂
|
||
```js title="index.js" | ||
```jsx title="main.jsx" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these changes in the context of this doc are totally fine! Your justification that its a Vite default makes sense 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a bunch for your contribution @gento-ogane! I'm sure new newcomers will really appreciate this change 🙂
@jerelmiller |
You're very welcome! |
#11305
In Vite, default file name is
main.jsx
instead ofindex.js
, so I replacedindex.js
tomain.jsx
.Checklist: