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

realar

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

realar - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

7

package.json
{
"name": "realar",
"version": "0.3.3",
"version": "0.3.4",
"description": "React state manager",

@@ -17,3 +17,2 @@ "repository": {

"build",
"babel",
"jest",

@@ -31,3 +30,2 @@ "src"

"dependencies": {
"babel-plugin-realar": ">=0.1.2",
"reactive-box": ">=0.5.0"

@@ -49,2 +47,3 @@ },

"babel-jest": "26.6.3",
"babel-plugin-realar": "0.1.5",
"cross-env": "7.0.3",

@@ -94,3 +93,3 @@ "enzyme": "3.11.0",

},
"gitHead": "c9bfec658e7e34d96daa27dd926cdcadfb12318f"
"gitHead": "60c9ccac55a909f192c099767c02f786f7f40861"
}

@@ -18,6 +18,2 @@ # Realar

@sel get next() {
return this.value + 1;
}
increment = () => this.value += 1;

@@ -30,7 +26,6 @@ decrement = () => this.value -= 1;

const App = () => {
const { value, next, increment, decrement } = sharedCounter();
const { value, increment, decrement } = sharedCounter();
return (
<p>
Counter: {value} (next value: {next})
Counter: {value}
<br />

@@ -44,7 +39,7 @@ <button onClick={decrement}>Prev</button>

<!--
### Demos
+ [Hello](https://github.com/realar-project/hello) - shared state demonstration.
+ [Todos](https://github.com/realar-project/todos) - todomvc implementation. -->
+ [Todos](https://github.com/realar-project/todos) - todomvc implementation.

@@ -60,14 +55,5 @@

And update your babel config if your want to use [babel-plugin](https://github.com/betula/babel-plugin-realar) for automatic decorated arrow function components:
And update your babel config if your want to use [babel-plugin](https://github.com/betula/babel-plugin-realar) for automatic decorated arrow function components.
```javascript
// .babelrc
{
"plugins": [
"realar/babel"
]
}
```
Enjoy and happy coding!
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