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

[Image] Warn for width/height props #789

Closed
wants to merge 1 commit into from
Closed

[Image] Warn for width/height props #789

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Apr 10, 2015

If the user passes in a width or height prop to the Image component, warn them that they should set these values using style instead.

If the user passes in a width or height prop to the Image component, warn them that they should set these values using style instead.
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 10, 2015
@brentvatne
Copy link
Collaborator

@vjeux - do you think this is worth adding?

@blairvanderhoof - rebase needed here 😄

@brentvatne brentvatne changed the title Warn for width/height props [Image] Warn for width/height props Jun 1, 2015
@vjeux
Copy link
Contributor

vjeux commented Jun 1, 2015

Definitely worth it. Would be nice to add a if (DEV) { } around it so that it's not being run in prod

@skevy
Copy link
Contributor

skevy commented Nov 24, 2015

@blairvanderhoof could you rebase and follow @vjeux's if (DEV) {} suggestion?

@facebook-github-bot
Copy link
Contributor

@blairvanderhoof updated the pull request.

@ide
Copy link
Contributor

ide commented Nov 24, 2015

Could you do this for Android too? We ask for parity in PRs to keep platforms in sync.

@satya164
Copy link
Contributor

@blairvanderhoof Any updates on this?

@ghost
Copy link
Author

ghost commented Dec 22, 2015

Sorry, I need to find the time to do it, feel free to have someone take over.

@brentvatne brentvatne closed this Jan 3, 2016
mganandraj pushed a commit to mganandraj/react-native that referenced this pull request Oct 28, 2021
* Add nullability checks (facebook#704)

* Update RCTCxxBridge.mm

* add nullability checks

* Check a nil URL to fix crashes connecting to socket (facebook#785)

* Update RCTCxxBridge.mm

* Update RCTCxxBridge.mm

* nil check websocket URL

* use RCTAssertParam

Co-authored-by: Chris Hogan <chrishogan@Chriss-MacBook-Pro-2.local>

* pod install

Co-authored-by: Chris Hogan <chrishogan@Chriss-MacBook-Pro-2.local>
facebook-github-bot pushed a commit that referenced this pull request Mar 15, 2022
Summary:
## Summary

Hermes added support for generators in 0.2.0, and JSC is ES6 feature complete since r202125.

NOTE: This is a combined Metro + React Native commit. For React Native, the only change here is adding `babel/plugin-transform-regenerator` to `repo-config` ( = `devDependencies`), so the tests no longer implicitly consume it via Metro.

Changelog: [Internal]

X-link: facebook/metro#789

Reviewed By: rh389

Differential Revision: D34819044

Pulled By: motiz88

fbshipit-source-id: fe27b2c2af0281d5309d4c16f95762d4d4935eba
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants