A change was made in https://github.com/facebook/fbjs/pull/240/files that incorrectly flipped the logic to only throw an error if __DEV__ === false. This would change it back to only throw the error if __DEV__ === true as was the behaviour previously.
Related issue: https://github.com/facebook/fbjs/issues/347
A change was made in https://github.com/facebook/fbjs/pull/240/files that incorrectly flipped the logic to only throw an error if
__DEV__ === false
. This would change it back to only throw the error if__DEV__ === true
as was the behaviour previously.