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

Remove DatePickerAndroid, DatePickerIOS, TimePickerAndroid #26729

Closed
wants to merge 7 commits into from
Closed

Remove DatePickerAndroid, DatePickerIOS, TimePickerAndroid #26729

wants to merge 7 commits into from

Conversation

safaiyeh
Copy link
Contributor

@safaiyeh safaiyeh commented Oct 5, 2019

Summary

Part of #23313

Removed DatePickerAndroid, DatePickerIOS, TimePickerAndroid from react-native in favor for https://github.com/react-native-community/react-native-datetimepicker

Changelog

[General] [Removed] - Removed DatePickerAndroid, DatePickerIOS, TimePickerAndroid

Test Plan

@facebook-github-bot
Copy link
Contributor

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up 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 the corporate CLA signed.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@pull-bot
Copy link

pull-bot commented Oct 5, 2019

Messages
📖

📋 Verify Changelog Format - A changelog entry has the following format: [CATEGORY] [TYPE] - Message.

CATEGORY may be:
  • General
  • iOS
  • Android
  • JavaScript
  • Internal (for changes that do not need to be called out in the release notes)

TYPE may be:

  • Added, for new features.
  • Changed, for changes in existing functionality.
  • Deprecated, for soon-to-be removed features.
  • Removed, for now removed features.
  • Fixed, for any bug fixes.
  • Security, in case of vulnerabilities.

MESSAGE may answer "what and why" on a feature level. Use this to briefly tell React Native users about notable changes.

Generated by 🚫 dangerJS against 4cebdc5

@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 Oct 5, 2019
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@safaiyeh safaiyeh requested a review from shergin as a code owner October 5, 2019 16:23
@safaiyeh safaiyeh changed the title [WIP] Remove DatePickerAndroid, DatePickerIOS, TimePickerAndroid Remove DatePickerAndroid, DatePickerIOS, TimePickerAndroid Oct 5, 2019
@safaiyeh safaiyeh mentioned this pull request Oct 5, 2019
64 tasks
@safaiyeh
Copy link
Contributor Author

safaiyeh commented Oct 5, 2019

Notes about the failing tests:

  • I reverted my changes to test the tests, the failing tests failed on a no-change PR.
  • test_ios tests fail due to Test didn't finish within %0.f seconds failures
  • Most of the tests are failing due to unable to resolve Android/iOS modules that seemingly are not related to the removal code. Would love some more insight to understand what is going on.

cc: @cpojer
Thanks!

@cpojer
Copy link
Contributor

cpojer commented Oct 5, 2019

Thank you for sending this PR. Unfortunately these removals can only be done in stages from someone at fb so I’ll have to close this. I’ll use your PR as a starting point for when I’m going to make that migration :)

@cpojer cpojer closed this Oct 5, 2019
facebook-github-bot pushed a commit that referenced this pull request Apr 26, 2023
Summary:
I found a couple scenarios where preloads were issued too aggressively

1. During SSR, if you render a new stylesheet after the preamble flushed
it will flush a preload even if the resource was already preloaded
2. During Client render, if you call `ReactDOM.preload()` it will only
check if a preload exists in the Document before inserting a new one. It
should check for an underlying resource such as a stylesheet link or
script if the preload is for a recognized asset type

DiffTrain build for commit facebook/react@ec5e9c2.

Reviewed By: kassens

Differential Revision: D45295400

fbshipit-source-id: 6255a2c72d321fdef508d8805b3a5cb807c5c384
jeongshin pushed a commit to jeongshin/react-native that referenced this pull request May 7, 2023
Summary:
I found a couple scenarios where preloads were issued too aggressively

1. During SSR, if you render a new stylesheet after the preamble flushed
it will flush a preload even if the resource was already preloaded
2. During Client render, if you call `ReactDOM.preload()` it will only
check if a preload exists in the Document before inserting a new one. It
should check for an underlying resource such as a stylesheet link or
script if the preload is for a recognized asset type

DiffTrain build for commit facebook/react@ec5e9c2.

Reviewed By: kassens

Differential Revision: D45295400

fbshipit-source-id: 6255a2c72d321fdef508d8805b3a5cb807c5c384
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
Summary:
I found a couple scenarios where preloads were issued too aggressively

1. During SSR, if you render a new stylesheet after the preamble flushed
it will flush a preload even if the resource was already preloaded
2. During Client render, if you call `ReactDOM.preload()` it will only
check if a preload exists in the Document before inserting a new one. It
should check for an underlying resource such as a stylesheet link or
script if the preload is for a recognized asset type

DiffTrain build for commit facebook/react@ec5e9c2.

Reviewed By: kassens

Differential Revision: D45295400

fbshipit-source-id: 6255a2c72d321fdef508d8805b3a5cb807c5c384
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API: TimePickerAndroid CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Component: PickerIOS Platform: Android Android applications. Platform: iOS iOS applications. Type: Removal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants