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

chore: Extract logic to compute codegen TS extendsProps and props in getProps function #36889

Closed

Conversation

gabrieldonadel
Copy link
Collaborator

Summary:

[Codegen 103] This PR extracts the logic to compute the extendsProps and props properties in TypeScript Codegen in a getProps() function as requested on #34872

Changelog:

[Internal] [Added] - Extract logic to compute codegen TS extendsProps and props properties in a single getProps function

Test Plan:

Run yarn jest react-native-codegen and ensure CI is green

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Expo Partner: Expo Partner labels Apr 13, 2023
@gabrieldonadel gabrieldonadel force-pushed the chore/codegen-get-props branch from df56c20 to b8a6e10 Compare April 13, 2023 03:38
@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,604,788 +0
android hermes armeabi-v7a 7,918,817 +0
android hermes x86 9,090,833 +0
android hermes x86_64 8,945,848 +0
android jsc arm64-v8a 9,174,204 +0
android jsc armeabi-v7a 8,365,854 +0
android jsc x86 9,231,847 +0
android jsc x86_64 9,490,545 +0

Base commit: 9f24df0
Branch: main

@gabrieldonadel gabrieldonadel force-pushed the chore/codegen-get-props branch from b8a6e10 to 75e006e Compare April 13, 2023 04:03
@gabrieldonadel gabrieldonadel force-pushed the chore/codegen-get-props branch from 75e006e to 0a6e78c Compare April 13, 2023 04:07
@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@cipolleschi merged this pull request in e962d43.

jeongshin pushed a commit to jeongshin/react-native that referenced this pull request May 7, 2023
…getProps function (facebook#36889)

Summary:
[Codegen 103] This PR extracts the logic to compute the `extendsProps` and `props` properties in TypeScript Codegen in a `getProps()` function as requested on facebook#34872

## Changelog:

[Internal] [Added] - Extract logic to compute codegen TS `extendsProps` and `props` properties in a single `getProps` function

Pull Request resolved: facebook#36889

Test Plan: Run `yarn jest react-native-codegen` and ensure CI is green

Reviewed By: rshest

Differential Revision: D44952664

Pulled By: cipolleschi

fbshipit-source-id: fd51f0b8767efbb0071b6391e0852c19b5a984c6
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
…getProps function (facebook#36889)

Summary:
[Codegen 103] This PR extracts the logic to compute the `extendsProps` and `props` properties in TypeScript Codegen in a `getProps()` function as requested on facebook#34872

## Changelog:

[Internal] [Added] - Extract logic to compute codegen TS `extendsProps` and `props` properties in a single `getProps` function

Pull Request resolved: facebook#36889

Test Plan: Run `yarn jest react-native-codegen` and ensure CI is green

Reviewed By: rshest

Differential Revision: D44952664

Pulled By: cipolleschi

fbshipit-source-id: fd51f0b8767efbb0071b6391e0852c19b5a984c6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Expo Partner: Expo Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants