@zag-js/react
Advanced tools
+2
-1
@@ -206,4 +206,4 @@ "use strict"; | ||
| const fns = effects.current; | ||
| const currentState = state.ref.current; | ||
| return () => { | ||
| const currentState = getCurrentState(); | ||
| debug("unmounting..."); | ||
@@ -217,2 +217,3 @@ hydratedStateRef.current = currentState; | ||
| action(machine.exit); | ||
| statusRef.current = import_core.MachineStatus.Stopped; | ||
| }); | ||
@@ -219,0 +220,0 @@ }; |
+2
-1
@@ -192,4 +192,4 @@ "use client"; | ||
| const fns = effects.current; | ||
| const currentState = state.ref.current; | ||
| return () => { | ||
| const currentState = getCurrentState(); | ||
| debug("unmounting..."); | ||
@@ -203,2 +203,3 @@ hydratedStateRef.current = currentState; | ||
| action(machine.exit); | ||
| statusRef.current = MachineStatus.Stopped; | ||
| }); | ||
@@ -205,0 +206,0 @@ }; |
+5
-5
| { | ||
| "name": "@zag-js/react", | ||
| "version": "1.36.0", | ||
| "version": "1.37.0", | ||
| "description": "The react wrapper for zag", | ||
@@ -28,6 +28,6 @@ "keywords": [ | ||
| "dependencies": { | ||
| "@zag-js/core": "1.36.0", | ||
| "@zag-js/store": "1.36.0", | ||
| "@zag-js/types": "1.36.0", | ||
| "@zag-js/utils": "1.36.0" | ||
| "@zag-js/core": "1.37.0", | ||
| "@zag-js/store": "1.37.0", | ||
| "@zag-js/types": "1.37.0", | ||
| "@zag-js/utils": "1.37.0" | ||
| }, | ||
@@ -34,0 +34,0 @@ "devDependencies": { |
40092
0.3%1053
0.19%+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated