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

@wiredcraft/miniprogram-sparrow

Package Overview
Dependencies
Maintainers
25
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wiredcraft/miniprogram-sparrow - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

8

CHANGELOG.md

@@ -6,4 +6,12 @@ # Change Log

## [0.0.4](https://github.com/wiredcraft/miniprogram-tools/compare/@wiredcraft/miniprogram-sparrow@0.0.3...@wiredcraft/miniprogram-sparrow@0.0.4) (2021-03-08)
**Note:** Version bump only for package @wiredcraft/miniprogram-sparrow
## 0.0.3 (2021-03-02)
**Note:** Version bump only for package @wiredcraft/miniprogram-sparrow

5

package.json
{
"name": "@wiredcraft/miniprogram-sparrow",
"version": "0.0.3",
"version": "0.0.4",
"description": "Experimental Recoil inspired state management",
"repository": {

@@ -38,3 +39,3 @@ "type": "git",

},
"gitHead": "00ad976cfde3fce55b386befab3069165749da9f"
"gitHead": "a4507047ca1575ffe9024128e5af057c857bc115"
}

16

README.md

@@ -0,9 +1,15 @@

## Install
```bash
yarn add @wiredcraft/miniprogram-sparrow
```
## Usage
```javascript
# store/name.js
// store/name.js
import { atom } from "sparrow";
export const firstName = atom('Jack');
export const firstName = atom("Jack");

@@ -17,5 +23,5 @@ // the action

```javascript
# components/hello.js
// components/hello.js
import { write, behavior as sparrow } from "sparrow";
import { firstName, updateFirstName } from './store/name'
import { firstName, updateFirstName } from "./store/name";

@@ -33,3 +39,3 @@ Component({

handleButtonOnTap() {
updateFirstName('Rose')
updateFirstName("Rose");
},

@@ -36,0 +42,0 @@ },

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