Currently the pointer to the JavaScript "Realm" is stored on globalThis.__data. I did this because it was quick and I am not familiar with v8's data APIs.
https://github.com/alshdavid/ion/blob/main/crates/ion/src/platform/realm.rs#L109
Replace this with v8's built-in embedder data storage system
Currently the pointer to the JavaScript "Realm" is stored on
globalThis.__data. I did this because it was quick and I am not familiar with v8's data APIs.https://github.com/alshdavid/ion/blob/main/crates/ion/src/platform/realm.rs#L109
Replace this with v8's built-in embedder data storage system