Hook up the side menu into main application so the drawer can finally be useful. In this video, learn how to connect the drawer component and side menu component to allow for side menu navigation.
- [Instructor] Previously, we created the side menu.…Now let's add it to our main application.…Open the app container to js file.…To get our side menu, let's import it.…Import side menu from,…it's going to be dot slash, components slash side menu.…Next we'll go down to our render method.…Here on line 40, where we have content.…We replace this placeholder view with our new side menu.…Our side menu is going to have some properties.…
The first of which is going to be the navigator.…Let's add navigator.…And that's going to equal this dot underscore navigator.…With a reference to it.…And then our second property is going to be the theme.…It will be theme equals curly brace,…this, dot state, dot theme.…Now remember the theme is still null at this point.…Let's close this tag, save the file,…go over to our terminal and start the application.…React dash native…space run dash IOS.…
If you're running on Android,…you can run dash Android instead…and the application will work the same.…Hit enter and wait for it to finish building.…
- Setting up your project and Firebase account
- Creating the app container
- Setting up basic navigation
- Creating a splash screen
- Creating a login screen
- Creating a match feature
- Creating a post feature
Skill Level Intermediate
Building an App with React.js and MeteorJSwith Emmanuel Henri4h 20m Intermediate
Building a Web Interface with React.jswith Ray Villalobos1h 21m Intermediate
1. Getting Set Up
2. Building an App
3. Create a Login Screen
4. Create a Match Feature
5. Create a Post Feature
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.