@pravosleva/reactive-engine 1.2.3-beta → 1.2.4-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -62,7 +62,7 @@ import { ReactiveEngine } from '@pravosleva/reactive-engine/react'
62
62
  class Logic extends AbstractService {
63
63
  public counter = this.engine.signal<number>(0, 'example-01:signal:counter');
64
64
 
65
- public inc() {
65
+ public inc = () => {
66
66
  this.counter.value += 1
67
67
  }
68
68
  }
@@ -78,7 +78,7 @@ export const Example001 = () => {
78
78
  <div>Signal example</div>
79
79
  <code>{counter}</code>
80
80
  <div className={baseClasses.catSection}>
81
- <button onClick={() => logic.inc()}>+ INC</button>
81
+ <button onClick={logic.inc}>+ INC</button>
82
82
  </div>
83
83
  </div>
84
84
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pravosleva/reactive-engine",
3
- "version": "1.2.3-beta",
3
+ "version": "1.2.4-beta",
4
4
  "engines": {
5
5
  "node": ">=22.20.0"
6
6
  },