![]() ![]() Just like a web browser, React Native implements the fetch and XMLHttpRequest APIs. Render the array of people using the FlatList component. When you have longs lists of data the ScrollView component won't cut it - it's just not built for it. Add some style to the TextInput while you're there! Helpful Links Using the TextInput component capture a user's name and, upon a button press, alert their name back to them. The big difference between the two is that, with a TextInput, you get no styling with it - you're responsible for it all. Much like you would have an input in html, React Native has the TextInput component. Explained: Each child in a list should have a unique "key" prop.Rarely does all of the content you want to display completely fit into the user's screen - that's where scrolling comes in. ![]() Each square should have a unique background color but all shared styles should only be defined once. ![]() Create 3 squares that are vertically and horizontally centered. If you're familiar with CSS-in-JS you should be able to fall right into styling in React Native as it follows the same principles.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |