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

@nanostores/preact

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nanostores/preact - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

5

index.js

@@ -6,4 +6,9 @@ import { useState, useEffect } from 'preact/hooks'

let [, forceRender] = useState({})
let [valueBeforeEffect] = useState(store.get())
useEffect(() => {
valueBeforeEffect !== store.get() && forceRender({})
}, [])
useEffect(() => {
let batching, timer, unlisten

@@ -10,0 +15,0 @@ let rerender = () => {

2

package.json
{
"name": "@nanostores/preact",
"version": "0.4.0",
"version": "0.4.1",
"description": "Preact integration for Nano Stores, a tiny state manager with many atomic tree-shakable stores",

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

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