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

storeon

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storeon - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

3

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 0.8.2
* Fix React `useEffect` re-render issue (by @sHooKDT).
## 0.8.1

@@ -5,0 +8,0 @@ * Fix TypeScript definitions (by Eugeny Schibrikov).

2

package.json
{
"name": "storeon",
"version": "0.8.1",
"version": "0.8.2",
"description": "Tiny (173 bytes) event-based Redux-like state manager for React and Preact",

@@ -5,0 +5,0 @@ "keywords": [

@@ -5,2 +5,5 @@ var React = require('react')

var useIsomorphicLayoutEffect =
typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect
/**

@@ -31,3 +34,3 @@ * Hook to use Storeon in functional React component.

React.useEffect(function () {
useIsomorphicLayoutEffect(function () {
return store.on('@changed', function (_, changed) {

@@ -34,0 +37,0 @@ var changesInKeys = keys.some(function (key) {

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