a video player built with react-native
A video player built with react-native
This assumes you have already installed node.js and react-native
In order to try it in the ios simulator, drag a video to the simulator to be able to access it in the simulator gallery.
src/index.js
contains the root compponent, which is the stack navigator that’s used in the app. components
folder contains the components of our app.screens
folder contains the screens (which are also components) used in navigation.utils
folder contains utility functions and constants used trough out the applicationpackage.json
file containing a name, which is used from any location in the project to reference the given folder location. This is a convinience used to avoid import sthg from '../../../fol/app.js
which is error prone and makes changing the folder structure a nightmare.index.js
file at the root of every folder is used to have a common interface for importing files in the project : import { ControlBar, NavBar, Card } from '...'
and avoid making an import for each one.