I\'ve picked realm to store data in my React Native app. I don\'t understand, how to organize files in my project. Documentation provides only simple code for one component.
In the example in the Realm github repo all models are defined and exported form a singe file: https://github.com/realm/realm-js/blob/master/examples/ReactExample/components/realm.js
Then this is required throughout the app and used as needed.