Marc Rousavy

Results 1813 comments of Marc Rousavy

Lol I just saw that `localStorage` only supports strings on web??? The web is genuinely so broken

Hi - what do you mean with no description or metadata? When you use the `Error` type in your HybridObjects you can return an `std::exception` in C++, `Throwable` in Kotlin...

I understand your problem, but I still don't see what the solution would be - do you have one? My idea is to add `.type` and `.stacktrace` to an `Error`,...

Yea I think all that should be possible. I can write a protocol extension for `NSError`

Valid 👍 Worth noting that a fair workaround would be to directly set the prop on the `hybridRef` (which avoids any React magic and just operates directly on the HybridObject):...

This is the only case where an _implicit_ Thread hop occurs in Nitro. By default, everything is sync - except for `HybridView` prop setters. Those go through React Native's view...

React Native schedules this function on the UI Thread: https://github.com/mrousavy/nitro/blob/60bedc58bf816c56b446d7871f41236c2ab25b4c/packages/react-native-nitro-image/nitrogen/generated/ios/c%2B%2B/views/HybridTestViewComponent.mm#L64-L99