@xstate/react
Advanced tools
Comparing version 1.0.0-rc.2 to 1.0.0-rc.3
@@ -36,3 +36,3 @@ "use strict"; | ||
if (stateMachine !== initialMachine) { | ||
throw new Error('Machine given to `useMachine` has changed between renders. This is not supported and might lead to unexpected results.\n' + | ||
console.warn('Machine given to `useMachine` has changed between renders. This is not supported and might lead to unexpected results.\n' + | ||
'Please make sure that you pass the same Machine as argument each time.'); | ||
@@ -39,0 +39,0 @@ } |
@@ -50,3 +50,3 @@ "use strict"; | ||
if (machine !== initialMachine) { | ||
throw new Error('Machine given to `useMachine` has changed between renders. This is not supported and might lead to unexpected results.\n' + | ||
console.warn('Machine given to `useMachine` has changed between renders. This is not supported and might lead to unexpected results.\n' + | ||
'Please make sure that you pass the same Machine as argument each time.'); | ||
@@ -53,0 +53,0 @@ } |
{ | ||
"name": "@xstate/react", | ||
"version": "1.0.0-rc.2", | ||
"version": "1.0.0-rc.3", | ||
"description": "XState tools for React", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
20423