Skip to content

Commit

Permalink
Merge pull request #342 from marvinhagemeister/attach_configure
Browse files Browse the repository at this point in the history
Fix reload-and-profile attach not configurable
  • Loading branch information
Brian Vaughn committed Jul 6, 2019
2 parents 844cdb2 + 8e90194 commit 39a811d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shells/browser/shared/src/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
Expand Down

0 comments on commit 39a811d

Please sign in to comment.