Update ListView Basics to use FlatList, SectionList.#14210
Conversation
| : 'ios'; | ||
| var name = params.name | ||
| ? decodeURIComponent(params.name) | ||
| : 'Example'; |
There was a problem hiding this comment.
Blame Prettier for this.
| const PropTypes = require('prop-types'); | ||
|
|
||
| const LatestSDKVersion = '15.0.0'; | ||
| const LatestSDKVersion = '16.0.0'; |
There was a problem hiding this comment.
Not using 17 here because the Snack player doesn't seem to support it.
|
@hramos has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
I tried to merge this pull request into the Facebook internal repo but some checks failed. To unblock yourself please check the following: Does this pull request pass all open source tests on GitHub? If not please fix those. Does the code still apply cleanly on top of GitHub master? If not can please rebase. In all other cases this means some internal test failed, for example a part of a fb app won't work with this pull request. I've added the Import Failed label to this pull request so it is easy for someone at fb to find the pull request and check what failed. If you don't see anyone comment in a few days feel free to comment mentioning one of the core contributors to the project so they get a notification. |
|
@hramos has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Summary: The new list views, FlatList and SectionList, are recommended over ListView. Built website on localhost and verified the guide is rendered correctly.  Closes #14210 Differential Revision: D5149151 Pulled By: hramos fbshipit-source-id: f28f02ee8893c4723c73d610b96ccda51cc31410
Motivation (required)
The new list views, FlatList and SectionList, are recommended over ListView.
Test Plan (required)
Built website on localhost and verified the guide is rendered correctly.