How alex170485/react-native_app_with_navigation works
This is a React Native blog app: users browse posts, open a post to bookmark or delete it, and create posts from a text-entry screen. Post data is held in Redux state, initialized from a small in-repository sample dataset; the app also provides a booked-posts view and an About screen. The graph follows the shown imports, dispatches, and navigation configuration. About and Booked screen internals, bootstrap behavior, and Redux wiring are not shown in excerpts, so their detailed behavior is not inferred.
Main entry points: AppNavigation.js Navigation · MainScreen.js All posts · postActions.js Post actions · AppHeaderIcon.js Header icon
Components 16
App and navigation
- App entry
App.js - Bootstrap
src/bootstrap.js - Navigation
src/navigation/AppNavigation.js
Blog screens
- All posts
src/Screen/MainScreen.js - Booked posts
src/Screen/BookedScreen.js - Post detail
src/Screen/PostScreen.js - Create post
src/Screen/CreateScreen.js - About
src/Screen/AboutScreen.js
Post presentation
- Post list
src/components/PostList.js - Post card
src/components/Post.js - Header icon
src/components/AppHeaderIcon.js
Post state
- Post actions
src/store/action/postActions.js - Post reducer
src/store/reducers/postReducer.js - Redux store
src/store/index.js - Sample posts
src/data.js
Other components
- App user
Connections 25
- App user → App entry: opens
- App entry → Bootstrap: imports
App.js - App entry → Navigation: renders
App.js - App entry → Redux store: provides
App.js - Navigation → All posts: routes to
src/navigation/AppNavigation.js - Navigation → Booked posts: routes to
src/navigation/AppNavigation.js - Navigation → Post detail: routes to
src/navigation/AppNavigation.js - Navigation → Create post: routes to
src/navigation/AppNavigation.js - Navigation → About: routes to
src/navigation/AppNavigation.js - All posts → Post list: renders
src/Screen/MainScreen.js - Post list → Post card: renders
src/components/PostList.js - All posts → Post detail: opens
src/Screen/MainScreen.js - All posts → Post actions: dispatches load
src/Screen/MainScreen.js - Post actions → Sample posts: loads sample
src/store/action/postActions.js - Post detail → Post actions: dispatches changes
src/Screen/PostScreen.js - Create post → Post actions: dispatches add
src/Screen/CreateScreen.js - Redux store → Post reducer: uses reducer
src/store/index.js - Post actions → Post reducer: produces actions
- Booked posts → Post list: uses list
src/Screen/BookedScreen.js - Booked posts → Post card: uses card
src/Screen/BookedScreen.js - All posts → Header icon: configures header
src/Screen/MainScreen.js - Post detail → Header icon: configures header
src/Screen/PostScreen.js - Create post → Header icon: configures header
src/Screen/CreateScreen.js - Booked posts → Header icon: uses header
src/Screen/BookedScreen.js - About → Header icon: uses header
src/Screen/AboutScreen.js