Comparing version 0.3.3 to 0.3.4
{ | ||
"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! | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
15596
21
8
246
56
- Removedbabel-plugin-realar@>=0.1.2
- Removed@ampproject/remapping@2.3.0(transitive)
- Removed@babel/code-frame@7.26.2(transitive)
- Removed@babel/compat-data@7.26.2(transitive)
- Removed@babel/core@7.26.0(transitive)
- Removed@babel/generator@7.26.2(transitive)
- Removed@babel/helper-compilation-targets@7.25.9(transitive)
- Removed@babel/helper-module-imports@7.25.9(transitive)
- Removed@babel/helper-module-transforms@7.26.0(transitive)
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/helper-validator-option@7.25.9(transitive)
- Removed@babel/helpers@7.26.0(transitive)
- Removed@babel/parser@7.26.2(transitive)
- Removed@babel/template@7.25.9(transitive)
- Removed@babel/traverse@7.25.9(transitive)
- Removed@babel/types@7.26.0(transitive)
- Removed@jridgewell/gen-mapping@0.3.5(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.25(transitive)
- Removedbabel-plugin-realar@0.2.8(transitive)
- Removedbrowserslist@4.24.2(transitive)
- Removedcaniuse-lite@1.0.30001680(transitive)
- Removedconvert-source-map@2.0.0(transitive)
- Removeddebug@4.3.7(transitive)
- Removedelectron-to-chromium@1.5.55(transitive)
- Removedescalade@3.2.0(transitive)
- Removedescape-string-regexp@4.0.0(transitive)
- Removedgensync@1.0.0-beta.2(transitive)
- Removedglobals@11.12.0(transitive)
- Removedjsesc@3.0.2(transitive)
- Removedjson5@2.2.3(transitive)
- Removedlru-cache@5.1.1(transitive)
- Removedmatcher@3.0.0(transitive)
- Removedms@2.1.3(transitive)
- Removednode-releases@2.0.18(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedsemver@6.3.1(transitive)
- Removedupdate-browserslist-db@1.1.1(transitive)
- Removedyallist@3.1.1(transitive)