- As part of this recipe, we'll build out the folder structure that the app will use. Let's add a components folder with an Album folder inside of it to hold the photo album component. We'll also need a redux folder to hold all of our Redux code.
- Inside the redux folder, let's add an index.js file for Redux initialization. We also need a photos directory, with an actions.js file and a reducer.js file.
- For now, the App.js file will only contain an Album component, which we'll define later:
import React, { Component } from 'react';import { StyleSheet, SafeAreaView } from 'react-native';import Album from './components/Album';const App = () => ( <SafeAreaView style={styles.container}> <Album /> </SafeAreaView>);const styles = ...