-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
[createReactClass] Removing createReactClass from ListView*Example.js #21582
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good!
I'll fix the props for ListViewGridLayoutExample
.
title: '<ListView> - Grid Layout', | ||
description: 'Flexbox grid layout.', | ||
}, | ||
class ListViewGridLayoutExample extends React.Component<{}, State> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use RNTesterProps
here as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSNara has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@RSNara I pushed the RNTesterProps update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSNara has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: Related to #21581 Remove createReactClass from ListViewExample and ListViewGridLayoutExample - All flow tests succeed. - Run RNTester app, go to ListView component, scroll, expand rows, everything works. - Run RNTester app, go to ListViewGridLayout component, scroll, click on icons, everything works. [GENERAL] [ENHANCEMENT] [ListViewExample.js] - rm createReactClass [GENERAL] [ENHANCEMENT] [ListViewGridLayoutExample.js] - rm createReactClass Pull Request resolved: facebook/react-native#21582 Differential Revision: D10274350 Pulled By: RSNara fbshipit-source-id: 4ea505a0f9661300309d6b9457202085293333b5
Summary: Related to facebook#21581 Remove createReactClass from ListViewExample and ListViewGridLayoutExample - All flow tests succeed. - Run RNTester app, go to ListView component, scroll, expand rows, everything works. - Run RNTester app, go to ListViewGridLayout component, scroll, click on icons, everything works. [GENERAL] [ENHANCEMENT] [ListViewExample.js] - rm createReactClass [GENERAL] [ENHANCEMENT] [ListViewGridLayoutExample.js] - rm createReactClass Pull Request resolved: facebook#21582 Differential Revision: D10274350 Pulled By: RSNara fbshipit-source-id: 4ea505a0f9661300309d6b9457202085293333b5
Related to #21581
Remove createReactClass from ListViewExample and ListViewGridLayoutExample
Test Plan:
Release Notes:
[GENERAL] [ENHANCEMENT] [ListViewExample.js] - rm createReactClass
[GENERAL] [ENHANCEMENT] [ListViewGridLayoutExample.js] - rm createReactClass