From the course: Create a CRM Mobile Application with React Native
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Connect your list view to backend - React Native Tutorial
From the course: Create a CRM Mobile Application with React Native
Connect your list view to backend
- [Instructor] Okay, so this is where we're going to connect all the pieces that we need so we can actually see the application running. So as we update the code, we're going to keep an eye on our simulator, because this is going to work eventually. Right now we have an error that I just noticed, Flatlist doesn't exist. Clearly it doesn't, because FlatList takes a capital L. So let's go ahead and fix that right away. Right here, the component in question, I'm going to save that, and lo and behold, I actually have here a list that shows up. The other thing I want to fix here is mapStateToProps, just to make sure we're spelling this right, like so, save that. Perfect. Now, if you see the screen and you don't see anything in here, it's normal. It's because you don't have anything in your database yet. So you have two choices. Either you add it through this screen and we could do that. So let's go Manny. So there's a little issue here that we're going to fix, but if you want to dismiss…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.