mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
86d3bd7476
Summary: This diff fixes a redbox happens on every single hot-reload practically saying that ImageLoader is misconfigured. The issue happened because after reloading Fabric used the previous obsolete instance of `ImageLoader` created and stored inside old (and already destroyed) instance of Bridge. The fix is simple: We update all dependencies after the Bridge was reloaded. See https://fb.workplace.com/groups/rn.support/permalink/2677343372314261/ for more details. Reviewed By: mdvacca Differential Revision: D17173702 fbshipit-source-id: 5ff0c418feae10ede9b76c184cd24ad06ee008b7