mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
9289dbdf77
* Refactoring MdToHtml to avoid manually rendering tokens * Minor fix * Fixed loading of resources * Handle clicking on checkboxes * Added back Katex support * Fixed issues with Katex and note rendering * Added back support for links * Restored code block highlighting support * clean up * Applying update to mobile * Fixed handling of links and cleaned up to share more code between mobile and desktop * Restored content caching and improved handling of additional assets * Clean up and a few fixes * Applied more updates to mobile and added code highlighting support
21 lines
886 B
JavaScript
21 lines
886 B
JavaScript
// 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
|
|
|
|
// console.disableYellowBox = true
|
|
|
|
const { AppRegistry } = require('react-native');
|
|
const { Root } = require('./root.js');
|
|
|
|
function main() {
|
|
AppRegistry.registerComponent('Joplin', () => Root);
|
|
console.ignoredYellowBox = ['Remote debugger'];
|
|
// Note: The final part of the initialization process is in
|
|
// AppComponent.componentDidMount(), when the application is ready.
|
|
}
|
|
|
|
module.exports = { main }; |