little-state-machine
Advanced tools
Comparing version 2.0.0-beta.5 to 2.0.0
{ | ||
"name": "little-state-machine", | ||
"version": "2.0.0-beta.5", | ||
"version": "2.0.0", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.es.js", |
@@ -74,10 +74,3 @@ <div align="center"><img src="https://github.com/bluebill1049/little-state-machine/blob/master/docs/logo.png" alt="React forme Logo - React hook form valiation" width="180px" /> | ||
const App = ({children}) => { | ||
const [globalState, updateStore] = useState(store); | ||
return <StateMachineProvider | ||
value={{ | ||
store: globalState, | ||
updateStore, | ||
}} | ||
> | ||
return <StateMachineProvider> | ||
<YourComponent /> | ||
@@ -84,0 +77,0 @@ </StateMachineProvider> |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
161621
114