Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: introduce patch-package to avoid recoil warnings
- Loading branch information
Showing
10 changed files
with
85 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/recoil/cjs/index.js b/node_modules/recoil/cjs/index.js | ||
index d0942d8..e1f14f0 100644 | ||
--- a/node_modules/recoil/cjs/index.js | ||
+++ b/node_modules/recoil/cjs/index.js | ||
@@ -468,7 +468,7 @@ function reactMode() { | ||
function isFastRefreshEnabled() { | ||
// @fb-only: const {isAcceptingUpdate} = require('__debug'); | ||
// @fb-only: return typeof isAcceptingUpdate === 'function' && isAcceptingUpdate(); | ||
- return false; // @oss-only | ||
+ return true; // @oss-only | ||
} | ||
|
||
var Recoil_ReactMode = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/recoil/cjs/index.js b/node_modules/recoil/cjs/index.js | ||
index 44bdc67..f6000fc 100644 | ||
--- a/node_modules/recoil/cjs/index.js | ||
+++ b/node_modules/recoil/cjs/index.js | ||
@@ -468,7 +468,7 @@ function reactMode() { | ||
function isFastRefreshEnabled() { | ||
// @fb-only: const {isAcceptingUpdate} = require('__debug'); | ||
// @fb-only: return typeof isAcceptingUpdate === 'function' && isAcceptingUpdate(); | ||
- return false; // @oss-only | ||
+ return true; // @oss-only | ||
} | ||
|
||
var Recoil_ReactMode = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/recoil/cjs/index.js b/node_modules/recoil/cjs/index.js | ||
index d0942d8..e1f14f0 100644 | ||
--- a/node_modules/recoil/cjs/index.js | ||
+++ b/node_modules/recoil/cjs/index.js | ||
@@ -468,7 +468,7 @@ function reactMode() { | ||
function isFastRefreshEnabled() { | ||
// @fb-only: const {isAcceptingUpdate} = require('__debug'); | ||
// @fb-only: return typeof isAcceptingUpdate === 'function' && isAcceptingUpdate(); | ||
- return false; // @oss-only | ||
+ return true; // @oss-only | ||
} | ||
|
||
var Recoil_ReactMode = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/recoil/cjs/index.js b/node_modules/recoil/cjs/index.js | ||
index 44bdc67..f6000fc 100644 | ||
--- a/node_modules/recoil/cjs/index.js | ||
+++ b/node_modules/recoil/cjs/index.js | ||
@@ -468,7 +468,7 @@ function reactMode() { | ||
function isFastRefreshEnabled() { | ||
// @fb-only: const {isAcceptingUpdate} = require('__debug'); | ||
// @fb-only: return typeof isAcceptingUpdate === 'function' && isAcceptingUpdate(); | ||
- return false; // @oss-only | ||
+ return true; // @oss-only | ||
} | ||
|
||
var Recoil_ReactMode = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/recoil/cjs/index.js b/node_modules/recoil/cjs/index.js | ||
index 44bdc67..f6000fc 100644 | ||
--- a/node_modules/recoil/cjs/index.js | ||
+++ b/node_modules/recoil/cjs/index.js | ||
@@ -468,7 +468,7 @@ function reactMode() { | ||
function isFastRefreshEnabled() { | ||
// @fb-only: const {isAcceptingUpdate} = require('__debug'); | ||
// @fb-only: return typeof isAcceptingUpdate === 'function' && isAcceptingUpdate(); | ||
- return false; // @oss-only | ||
+ return true; // @oss-only | ||
} | ||
|
||
var Recoil_ReactMode = { |