1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-18 23:07:45 +02:00
Files
CliClient
ReactNativeClient
android
ios
lib
.babelrc
.buckconfig
.flowconfig
.gitattributes
.gitignore
.watchmanconfig
app.json
clean_build.bat
debug_log.bat
debug_log.sh
index.android.js
index.ios.js
main.js
package.json
root.js
start_emulator.bat
start_server.bat
start_server.sh
yarn.lock
.gitignore
Icon.psd
Icon144.png
Icon48.png
Icon512.png
Icon72.png
Icon96.png
joplin.sublime-project
joplin/ReactNativeClient/main.js

20 lines
862 B
JavaScript
Raw Normal View History

2017-05-12 20:23:54 +00:00
// Note about the application structure:
// - The user interface and its state is managed by React/Redux.
// - Persistent storage to SQLite and Web API is handled outside of React/Redux using regular JavaScript (no middleware, no thunk, etc.).
// - Communication from React to SQLite is done by calling model methods (note.save, etc.)
// - Communication from SQLite to Redux is done via dispatcher.
// So there's basically still a one way flux: React => SQLite => Redux => React
2017-05-10 19:51:43 +00:00
import { AppRegistry } from 'react-native';
2017-06-24 19:06:28 +01:00
import { Log } from 'lib/log.js'
2017-07-05 21:34:25 +01:00
import { Root } from './root.js';
2017-05-10 19:51:43 +00:00
function main() {
2017-07-07 23:25:03 +01:00
AppRegistry.registerComponent('Joplin', () => Root);
2017-05-23 19:58:12 +00:00
console.ignoredYellowBox = ['Remote debugger'];
2017-05-12 20:17:23 +00:00
// Note: The final part of the initialization process is in
// AppComponent.componentDidMount(), when the application is ready.
2017-05-10 19:51:43 +00:00
}
export { main }