diff --git a/src/renderers/shared/fiber/ReactFiberUpdateQueue.js b/src/renderers/shared/fiber/ReactFiberUpdateQueue.js index c3c8cf7904e2b..2e4312c65f086 100644 --- a/src/renderers/shared/fiber/ReactFiberUpdateQueue.js +++ b/src/renderers/shared/fiber/ReactFiberUpdateQueue.js @@ -76,7 +76,12 @@ exports.callCallbacks = function(queue : UpdateQueue, context : any) { if (callback && !node.callbackWasCalled) { node.callbackWasCalled = true; if (typeof context !== 'undefined') { - callback.call(context); + try { + callback.call(context); + return null; + } catch (error) { + return error; + } } else { callback(); }