closeOnUnmount seems to be working and I finally simplified the singleton, since in TS I can export the instance instead of a class, it’s easier like that :
import { Realm } from '@realm/react';
import { realmConfig } from "./schema";
const RealmInstance = new Realm(realmConfig)
export default RealmInstance
Thanks for your time, and would be happy to ask other things to you on any discord you want ![]()