Merge pull request #342 from marvinhagemeister/attach_configure

Fix reload-and-profile attach not configurable
This commit is contained in:
Brian Vaughn
2019-07-06 18:40:00 -04:00
committed by GitHub
+4
View File
@@ -15,6 +15,10 @@ Object.defineProperty(
'__REACT_DEVTOOLS_ATTACH__',
({
enumerable: false,
// This property needs to be configurable to allow third-party integrations
// to attach their own renderer. Note that using third-party integrations
// is not officially supported. Use at your own risk.
configurable: true,
get() {
return attach;
},