Introduction
Hermes has support for WeakRefs, but it seems it's not enabled for React Native.
Details
From facebook/hermes#658 and facebook/hermes#1195, it seems that this requires action on the React Native side (enabling the microtask-queue flag for Hermes and then routinely calling drainMicrotasks).
Discussion points
Is there a reason why microtask-queue is not enabled, and could it be enabled?
Introduction
Hermes has support for
WeakRefs, but it seems it's not enabled for React Native.Details
From facebook/hermes#658 and facebook/hermes#1195, it seems that this requires action on the React Native side (enabling the
microtask-queueflag for Hermes and then routinely callingdrainMicrotasks).Discussion points
Is there a reason why
microtask-queueis not enabled, and could it be enabled?