react-native-website icon indicating copy to clipboard operation
react-native-website copied to clipboard

Update intro-react.md

Open CoryHrycko opened this issue 10 months ago • 7 comments

Updated the helper text, clarifying the usage of the react import.

CoryHrycko avatar Apr 19 '24 02:04 CoryHrycko

Hi @CoryHrycko!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

facebook-github-bot avatar Apr 19 '24 02:04 facebook-github-bot

Deploy Preview for react-native ready!

Name Link
Latest commit 738870a40ba25b2769d6563a453505fbaa1f0861
Latest deploy log https://app.netlify.com/sites/react-native/deploys/66577a152054b30008b3a383
Deploy Preview https://deploy-preview-4083--react-native.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Apr 19 '24 02:04 netlify[bot]

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

facebook-github-bot avatar Apr 19 '24 04:04 facebook-github-bot

this might be a misconfiguration on my end, but isn't it still necessary for TypeScript users?

Rexogamer avatar Apr 27 '24 18:04 Rexogamer

@Rexogamer, it shouldn't be needed. I use Typescript daily, and since React Native version 0.64, React Version 17, and I believe Typescript 4.1 we hadn't have to import that specific part. The current Typescript, version 5.4, playgrounds do not include these imports. For new projects this is not needed, unless the party needs to update global dependencies. Typescript is also separate from React, which both of us know, none the less I would update the linter dependencies in your project, and that should resolve any formatting issues. If you have some specific questions I will help.

CoryHrycko avatar Apr 28 '24 01:04 CoryHrycko

you'll also want to update docs/intro-react.md (the unversioned article) - other than that, this looks good to me :3

Rexogamer avatar Apr 30 '24 18:04 Rexogamer

you'll also want to update docs/intro-react.md (the unversioned article) - other than that, this looks good to me :3

Added, Thank you for the thorough review! As I read through you may see me again. 😄

CoryHrycko avatar Apr 30 '24 18:04 CoryHrycko