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

atom-state

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atom-state - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

build/hooks/__tests__/useAtomValue.spec.d.ts

3

build/hooks/useAtomState.d.ts

@@ -1,3 +0,2 @@

declare type SetAtomValueFunc = (newValue: ((currentValue: any) => any) | any) => void;
export declare type SetAtomValueFunc = (newValue: ((currentValue: any) => any) | any) => void;
export default function useAtomState(atomKey: any): [any, SetAtomValueFunc];
export {};

@@ -0,1 +1,11 @@

#### 0.0.8 (2020-06-07)
##### Continuous Integration
* publish npm on release ([a38c288a](https://github.com/JimLiu/atom-state/commit/a38c288a013e76471b673ee2b60c4a7edbd8d157))
##### New Features
* Add new hooks useAtomValue and useSetAtomState ([12f1adba](https://github.com/JimLiu/atom-state/commit/12f1adba873c6d25ffc1080b2c6cbe2d23a2f495))
#### 0.0.7 (2020-06-07)

@@ -7,11 +17,11 @@

* add release scripts ([68a05380](https://github.com/JimLiu/atom-state/commit/68a053803ea92285c5f1025d4a33347a3179f8b0))
- add release scripts ([68a05380](https://github.com/JimLiu/atom-state/commit/68a053803ea92285c5f1025d4a33347a3179f8b0))
##### Documentation Changes
* Update changelog ([f750e32f](https://github.com/JimLiu/atom-state/commit/f750e32f84d58b2f5f92d85e62c036b89c7a0b5e))
- Update changelog ([f750e32f](https://github.com/JimLiu/atom-state/commit/f750e32f84d58b2f5f92d85e62c036b89c7a0b5e))
##### New Features
* Support Async Atom ([83cf3fbf](https://github.com/JimLiu/atom-state/commit/83cf3fbf6d5e9fb78a0dda5f5cc22ea612a886b2))
- Support Async Atom ([83cf3fbf](https://github.com/JimLiu/atom-state/commit/83cf3fbf6d5e9fb78a0dda5f5cc22ea612a886b2))

@@ -18,0 +28,0 @@ #### 0.0.5 (2020-06-06)

{
"name": "atom-state",
"version": "0.0.7",
"version": "0.0.8",
"description": "A state management library for React",

@@ -5,0 +5,0 @@ "main": "build/index.js",

import { useState, useEffect, useCallback } from 'react'
import useStore from './useStore'
type SetAtomValueFunc = (newValue: ((currentValue: any) => any) | any) => void
export type SetAtomValueFunc = (
newValue: ((currentValue: any) => any) | any
) => void

@@ -6,0 +8,0 @@ export default function useAtomState (atomKey: any): [any, SetAtomValueFunc] {

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

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