New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@xstate/react

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xstate/react - npm Package Compare versions

Comparing version 0.8.1 to 1.0.0-rc.0

9

CHANGELOG.md

@@ -5,2 +5,11 @@ # Changelog

## [0.8.1]
- Services are now kept up to date
## [0.8.0]
- The `useActor()` hook is now available.
- Support for persisted states
## [0.7.1]

@@ -7,0 +16,0 @@

1

lib/fsm.js

@@ -42,2 +42,1 @@ "use strict";

exports.useMachine = useMachine;
//# sourceMappingURL=fsm.js.map

@@ -130,2 +130,1 @@ "use strict";

exports.useActor = useActor_1.useActor;
//# sourceMappingURL=index.js.map

@@ -35,2 +35,1 @@ "use strict";

exports.useActor = useActor;
//# sourceMappingURL=useActor.js.map
{
"name": "@xstate/react",
"version": "0.8.1",
"version": "1.0.0-rc.0",
"description": "XState tools for React",

@@ -44,3 +44,3 @@ "keywords": [

"react": "^16.8.0",
"xstate": "^4.6.0"
"xstate": "^4.7.0"
},

@@ -62,4 +62,4 @@ "devDependencies": {

"typescript": "^3.6.2",
"xstate": "^4.7.0-rc1"
"xstate": "^4.7.0-rc6"
}
}

@@ -291,3 +291,3 @@ # @xstate/react

// Get the persisted state config object from somewhere, e.g. localStorage
const persistedState = JSON.parse(localStorage.get('some-persisted-state-key'));
const persistedState = JSON.parse(localStorage.getItem('some-persisted-state-key'));

@@ -294,0 +294,0 @@ const App = () => {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc