Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stook

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stook - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

dist/stook.cjs.development.js

@@ -117,3 +117,3 @@ 'use strict';

* @param initialValue initial value, can not override, use first useStore to init
* @see https://stook-cn.now.sh/docs/stook/use-store
* @see https://stook.vercel.app/docs/stook/use-store
*

@@ -120,0 +120,0 @@ * 需要注意的是,如果调用多个相同key的 useStore, 第一个被调用的 useStore 的 initialValue 才是有效的 initialValue

@@ -111,3 +111,3 @@ import { useState, useEffect } from 'react';

* @param initialValue initial value, can not override, use first useStore to init
* @see https://stook-cn.now.sh/docs/stook/use-store
* @see https://stook.vercel.app/docs/stook/use-store
*

@@ -114,0 +114,0 @@ * 需要注意的是,如果调用多个相同key的 useStore, 第一个被调用的 useStore 的 initialValue 才是有效的 initialValue

@@ -9,3 +9,3 @@ import { Dispatch, Action, keyType } from './types';

* @param initialValue initial value, can not override, use first useStore to init
* @see https://stook-cn.now.sh/docs/stook/use-store
* @see https://stook.vercel.app/docs/stook/use-store
*

@@ -12,0 +12,0 @@ * 需要注意的是,如果调用多个相同key的 useStore, 第一个被调用的 useStore 的 initialValue 才是有效的 initialValue

{
"name": "stook",
"version": "1.0.0",
"version": "1.1.0",
"description": "A minimalist design state management library for React",

@@ -26,13 +26,13 @@ "license": "MIT",

"devDependencies": {
"@testing-library/react-hooks": "^3.7.0",
"react-test-renderer": "^17.0.1",
"@testing-library/react-hooks": "^5.1.2",
"react-test-renderer": "^17.0.2",
"tsdx": "^0.14.1",
"tslib": "^2.0.3",
"typescript": "^4.1.3"
"tslib": "^2.2.0",
"typescript": "^4.2.4"
},
"dependencies": {
"immer": "^8.0.0",
"immer": "^9.0.2",
"mitt": "^2.1.0"
},
"gitHead": "d6d76e396e9bcad9c283d297aeefc032e71c5aaa"
"gitHead": "b385ab1e52aec6fe7c1587cf42ded5a19d56e392"
}

@@ -9,3 +9,3 @@ # Stook

The documentation site of stook is hosted at [https://stook-cn.now.sh](https://stook-cn.now.sh).
The documentation site of stook is hosted at [https://stook.vercel.app](https://stook.vercel.app).

@@ -12,0 +12,0 @@ ## Quick start

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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