[createReactClass] Remove createReactClass from ProgressBarAndroidExample - #21874
[createReactClass] Remove createReactClass from ProgressBarAndroidExample#21874exced wants to merge 4 commits into
Conversation
analysis-bot
left a comment
There was a problem hiding this comment.
Code analysis results:
eslintfound some issues.
| }; | ||
|
|
||
| class MovingBar extends React.Component<MovingBarProps, MovingBarState> { | ||
| _intervalID: (null: ?IntervalID); |
There was a problem hiding this comment.
null: Parsing error: Unexpected token, expected ")"
27 |
28 | class MovingBar extends React.Component<MovingBarProps, MovingBarState> {
29 | _intervalID: (null: ?IntervalID);
| ^
30 |
31 | state = {
32 | progress: 0,
|
It looks like there are flow errors: |
|
I fixed the ESLint issues. Besides I don't have any Flow errors locally, is the config different ? |
|
You need to run with the Android config to check |
|
@TheSavior I updated Props to fit ProgressBarAndroid component. I also exported its props to make it handier for me |
facebook-github-bot
left a comment
There was a problem hiding this comment.
RSNara has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: Related to #21581 This PR was already opened here react/react-native#21600 but seems to be inactive. Remove createReactClass from ProgressBarAndroidExample. - `yarn run flow` && `yarn run flow-check-android` succeed. - RNTester app ProgressBarAndroidExample on Android. [GENERAL] [ENHANCEMENT] [ProgressBarAndroidExample.android.js] - rm createReactClass Pull Request resolved: react/react-native#21874 Reviewed By: TheSavior Differential Revision: D12827689 Pulled By: RSNara fbshipit-source-id: 46c70ea67dddf5d928fe936a28ef4a0a929d127f
Summary: Related to react#21581 This PR was already opened here react#21600 but seems to be inactive. Remove createReactClass from ProgressBarAndroidExample. - `yarn run flow` && `yarn run flow-check-android` succeed. - RNTester app ProgressBarAndroidExample on Android. [GENERAL] [ENHANCEMENT] [ProgressBarAndroidExample.android.js] - rm createReactClass Pull Request resolved: react#21874 Reviewed By: TheSavior Differential Revision: D12827689 Pulled By: RSNara fbshipit-source-id: 46c70ea67dddf5d928fe936a28ef4a0a929d127f
Related to #21581
This PR was already opened here #21600 but seems to be inactive.
Remove createReactClass from ProgressBarAndroidExample.
Test Plan:
yarn run flow&&yarn run flow-check-androidsucceed.Release Notes:
[GENERAL] [ENHANCEMENT] [ProgressBarAndroidExample.android.js] - rm createReactClass