
Databases for Mobile Apps: React Native & Realm | React Universe On Air #25
React Universe On Air
00:00
How to Use Event Listeners in React
Realm is built on top of the React Native layer. You would write your classes, right, or your data models and then you take the Realm provider in your application to wrap your app. So basically it's just an object. It has a structure that you have to adhere to,. And then a properties field, which shows you what properties are going to be in that model; each property can be like name, string, age, etc. The last version I just released, usually you would just call dot filtered on that and wrap it in use memo or something like that. But I created a second argument to use query, which is a callback, where you get access to that collection
Play episode from 22:37
Transcript


