Skip to content

Commit 39a811d

Browse files
author
Brian Vaughn
authored
Merge pull request #342 from marvinhagemeister/attach_configure
Fix reload-and-profile attach not configurable
2 parents 844cdb2 + 8e90194 commit 39a811d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

shells/browser/shared/src/renderer.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ Object.defineProperty(
1515
'__REACT_DEVTOOLS_ATTACH__',
1616
({
1717
enumerable: false,
18+
// This property needs to be configurable to allow third-party integrations
19+
// to attach their own renderer. Note that using third-party integrations
20+
// is not officially supported. Use at your own risk.
21+
configurable: true,
1822
get() {
1923
return attach;
2024
},

0 commit comments

Comments
 (0)