classy-solid
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -5,3 +5,3 @@ export * from './decorators/index.js'; | ||
export * from './signals/index.js'; | ||
export declare const version = "0.4.1"; | ||
export declare const version = "0.4.2"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -5,3 +5,3 @@ export * from './decorators/index.js'; | ||
export * from './signals/index.js'; | ||
export const version = '0.4.1'; | ||
export const version = '0.4.2'; | ||
//# sourceMappingURL=index.js.map |
@@ -39,6 +39,6 @@ import { createComputed } from 'solid-js'; | ||
() => { | ||
const _a = getterA(); | ||
const a = getterA(); | ||
if (settingA) return settingA = false; | ||
settingB = true; | ||
setterB(_a); | ||
setterB(a); | ||
}); | ||
@@ -48,6 +48,6 @@ createComputed( | ||
() => { | ||
const _b = getterB(); | ||
const b = getterB(); | ||
if (settingB) return settingB = false; | ||
settingA = true; | ||
setterA(_b); | ||
setterA(b); | ||
}); | ||
@@ -54,0 +54,0 @@ return [[getterA, setterA], [getterB, setterB]]; |
{ | ||
"name": "classy-solid", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Solid.js reactivity patterns for classes, and class components.", | ||
@@ -5,0 +5,0 @@ "info": "The `classy-solid` package gives you a `@signal` decorator to make reactive class properties, an `@component` decorator to use classes as Solid components, and some other APIs to simplify usage of reactive patterns in classes. It is still early, more features and changes to come!", |
@@ -6,2 +6,2 @@ export * from './decorators/index.js' | ||
export const version = '0.4.1' | ||
export const version = '0.4.2' |
@@ -45,6 +45,6 @@ import {createComputed} from 'solid-js' | ||
() => { | ||
const _a = getterA() | ||
const a = getterA() | ||
if (settingA) return (settingA = false) | ||
settingB = true | ||
setterB(_a) | ||
setterB(a) | ||
}, | ||
@@ -56,6 +56,6 @@ ) | ||
() => { | ||
const _b = getterB() | ||
const b = getterB() | ||
if (settingB) return (settingB = false) | ||
settingA = true | ||
setterA(_b) | ||
setterA(b) | ||
}, | ||
@@ -62,0 +62,0 @@ ) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
180633