https://github.com/ecmadao/f8app-analysis
Analyse the source code of f8-app
https://github.com/ecmadao/f8app-analysis
Last synced: 9 months ago
JSON representation
Analyse the source code of f8-app
- Host: GitHub
- URL: https://github.com/ecmadao/f8app-analysis
- Owner: ecmadao
- Created: 2016-04-24T13:36:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-07-12T04:03:27.000Z (over 3 years ago)
- Last Synced: 2025-04-11T00:12:03.286Z (9 months ago)
- Language: JavaScript
- Size: 12.4 MB
- Stars: 23
- Watchers: 5
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Analyse the source code of f8-app
> 分析 Facebook f8 App 的架构和实现
## Simple view of file tree in f8-app
```bash
+ index.android.js
+ index.ios.js
- js
+ env.js # environment config
+ setup.js # entry file
+ F8App.js # main component
+ F8Navigator.js # router controller
+ FacebookSDK.js
# components
+ common
+ filter
+ login
+ rating
+ tabs
# redux
+ actions
+ reducers
+ store
```
- 入口:`setup.js`,组建 store,渲染 RN
- 最外层组件:`F8App.js`
- 如果用户已登录,则渲染:`F8Navigator.js`
- 否则渲染:`login/loginScreen.js`
- 通用组件: `common`
## Menu
### Chapter 1 -- STRUCTOR
- [Main Structor](./Chapter 1/1.main_structor.md)
- [Navigator and Basic Framework](./Chapter 1/2.navigator_and_basic_framework.md)
### Chapter 2 -- COMMON COMPONENTS
- [Common Components](./Chapter 2/1.common_components.md)
- [GeneralScheduleView and ListContainer](./Chapter 2/2.general_schedule_view_and_list_container.md)