@wirestate/react-signals 0.6.3 → 0.7.0-experimental.1

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 (3) hide show
  1. package/CHANGELOG.md +21 -1
  2. package/README.md +4 -10
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## 0.7.0
2
+
3
+ - Add `useScope` in `@wirestate/react`
4
+ - New lit elements modules - `@wirestate/lit` and `@wirestate/lit-signals`
5
+ - `EventBus`: add `unsubscribe` method for explicit handler removal by reference
6
+ - `QueryBus`: add `unregister` method for explicit handler removal by type and reference
7
+ - `CommandBus`: add `unregister` method for explicit handler removal by type and reference
8
+ - `WireScope`: add new event/command/query subscribe-unsubscribe methods
9
+ - Export more alias / methods from `@wirestate/core`
10
+ - Export more alias / methods from `@wirestate/react-mobx`
11
+ - Export missing methods typing for `@wirestate/core`
12
+ - Extensive JSDoc coverage for wirestate packages
13
+ - `createIocContainer`: Added ability to instantly provide and activate entries, targeted seeds
14
+ - `createInjectablesProvider`: Removed.
15
+ - `IocProvider`: Removed
16
+ - `useRootContainer`: Added separate hook for store management in React tree
17
+ - `ContainerProvider`: Simpler provider for containers.
18
+ - `SubContainerProvider`: Added component solving problems of removed `createInjectablesProvider`
19
+ - `ContainerActivator`: Added separate activation component
20
+
1
21
  ## 0.6.3
2
22
 
3
23
  - Update readme files for each module
@@ -59,6 +79,6 @@
59
79
  - useService -> useInjection
60
80
  - AbstractService::getService -> AbstractService::resolve
61
81
 
62
- ## 0.1.1
82
+ ## 0.1.0
63
83
 
64
84
  - Initial release
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @wirestate/react-signals
1
+ # @wirestate/react-signals [[monorepo](https://github.com/Neloreck/wirestate)] [[docs](https://neloreck.github.io/wirestate/)]
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/@wirestate/react-signals.svg?style=flat-square)](https://www.npmjs.com/package/@wirestate/react-signals)
4
4
  [![license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/Neloreck/wirestate/blob/master/LICENSE)
@@ -20,20 +20,14 @@ npm install --save-dev @preact/signals-react-transform
20
20
  ## Usage
21
21
 
22
22
  ```ts
23
- import {
24
- signal,
25
- computed,
26
- effect,
27
- Signal,
28
- ReadonlySignal,
29
- } from '@wirestate/react-signals';
23
+ import { signal, computed, effect, Signal, ReadonlySignal } from "@wirestate/react-signals";
30
24
  ```
31
25
 
32
26
  Example service:
33
27
 
34
28
  ```ts
35
- import { Injectable, Inject, WireScope } from '@wirestate/core';
36
- import { signal, computed, Signal, ReadonlySignal } from '@wirestate/react-signals';
29
+ import { Injectable, Inject, WireScope } from "@wirestate/core";
30
+ import { signal, computed, Signal, ReadonlySignal } from "@wirestate/react-signals";
37
31
 
38
32
  @Injectable()
39
33
  export class CounterService {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirestate/react-signals",
3
- "version": "0.6.3",
3
+ "version": "0.7.0-experimental.1",
4
4
  "description": "Preact signals alias and adapters for wirestate",
5
5
  "sideEffects": false,
6
6
  "author": "Syrotenko Igor",