Instantiating Realm in Redux?

Hi, I was wondering how I should use realm within redux? I’m using a provider in the app to pass the realm object for queries but for writes when hitting the api want to handle it within redux. Any examples would be great, thanks for the help!