mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
718ffe5038
Summary: Sometimes we don't know for sure if `ContextContainer` has a value or not (and that's perfectly legit use case). In those cases now we can use `findInstance` method that returns an optional intead of throwing an exeption. Reviewed By: JoshuaGross Differential Revision: D15039137 fbshipit-source-id: 95ba8cc7b76e37d1bd17e18c0098e56350ff3fef