Tom Duncalf

Results 96 comments of Tom Duncalf

@kraenhansen @RedBeard0531 I wanted to open this WIP to start a discussion around supporting the new [NativeState API](https://github.com/facebook/hermes/blob/main/API/jsi/jsi/jsi.h#L147) in Hermes master, which provides a way to store a C++ object...

OK adding the try/catch makes this like 20x slower with JSC (compared to just having the "catch" code there), lol, I guess that won't fly... maybe we could store a...

I pushed a rough version of what I described above but I'll leave the comment intact in case the history gets confusing! https://github.com/realm/realm-js/pull/4871/commits/2a8ccebbab638c7ad36e18b595aea53f7bd7fb94

Hey @mfbx9da4, I believe you've already seen how we approached fixing a similar issue in Realm: https://github.com/realm/realm-js/pull/4330. In our case, we'd see the UI being out of sync after any...

Hey @Huxpro , thanks so much for the detailed answer and it’s great to know we were on the right track! We implemented the solution of calling `callReactNativeMicrotasks()` immediately after...

@Huxpro Thanks for the pointer to try calling `JSIExectuor::flush`! This seems to work perfectly if we call it after every C++ to JS call, so it seems that some of...

To provide an update on this, I found that we were able to expose the `jsCallInvoker` member of the `RCTBridge`, which has a method `invokeAsync` which calls a lambda you...

@310381453 here is how I did it for Android: [PR](https://github.com/realm/realm-js/pull/4725). Some of the complexity may be related to how Realm is set up. I seem to recall that if you...

For now I just updated this to use `UNSAFE_componentWillReceiveProps` to suppress the errors: https://github.com/tomduncalf/react-native-animatable/commit/6557a65d72b64960facc072995c28cd7c5e5ad70. Feel free to use my branch for now

Just to add, I'm seeing flickering/flashes of unstyled content in Safari 9 - only with some styles, not all of them, but it's pretty noticeable. Not seen it in any...