225 Commits

Author SHA1 Message Date
Víctor Oliva
d9544fde0f feat: create-signal 2022-10-19 17:51:45 +02:00
Víctor Oliva
6300214de0 feat: add compatible keys restriction to combineStates 2022-10-19 15:16:36 +02:00
Josep M Sobrepere
7a85b37138
context-state: general refactor + object keys 2022-10-19 15:05:09 +02:00
Josep M Sobrepere
ad249a2769
context-state: fix route-state broken tests 2022-10-18 11:48:23 +02:00
Víctor Oliva
1254951e7e fix combineStates tests 2022-10-12 22:03:08 +02:00
Víctor Oliva
1c3cc752b7 test: add tests for combineStates 2022-10-12 20:35:56 +02:00
Víctor Oliva
cf0ce6d2e6 test: add tests for routeState 2022-10-11 17:53:54 +02:00
Josep M Sobrepere
efd81fd38f
context-state: adding errors support 2022-10-10 16:21:54 +02:00
Josep M Sobrepere
516dbed517
chore: avoid passing parentState to internal run 2022-10-10 11:30:24 +02:00
Josep M Sobrepere
96b1997c95
context-state: factories, factories everywhere... 2022-10-07 09:34:04 +02:00
Víctor Oliva
248776b86c finish initial set of substate tests 2022-10-06 16:30:34 +02:00
Víctor Oliva
6aa433afd2 continue with substate tests (wip) 2022-10-06 00:31:15 +02:00
Josep M Sobrepere
08e3ddc83d
context-state: combineStates 2022-10-05 23:23:05 +02:00
Josep M Sobrepere
8e62ef7aaf
context-state: routeState 2022-10-05 22:02:53 +02:00
Víctor Oliva
eca5e63f8f add tests for substate (wip) 2022-10-05 17:36:12 +02:00
Josep M Sobrepere
c79850194c
context-state: substate fixes 2022-10-05 16:51:41 +02:00
Josep M Sobrepere
46c6791ba3
context-state: initial substate implementation 2022-10-05 16:29:36 +02:00
Josep M Sobrepere
4c48d7cc8f
@react-rxjs/core@0.10.3 2022-09-09 16:49:52 +02:00
Josep M Sobrepere
f5ac97c153
fix: avoid errors on unmounted Suspense components 2022-09-09 16:48:34 +02:00
Josep M Sobrepere
42dba32121
@react-rxjs/core@0.10.2 2022-09-09 16:09:58 +02:00
Victor Oliva
46914820f3
fix: pipeState also enhanced as a React element (#282) 2022-09-09 16:03:13 +02:00
Josep M Sobrepere
e47d32fff4
@react-rxjs/core@0.10.1 2022-09-09 15:58:49 +02:00
Victor Oliva
822c0baca7
chore: rename selfDependant to selfDependent (#272)
Co-authored-by: Josep M Sobrepere <jm.sobrepere@gmail.com>
2022-09-09 12:47:03 +02:00
Josep M Sobrepere
2a5fd4df09 @react-rxjs/core@0.10.0 2022-09-09 12:39:32 +02:00
Victor Oliva
7a3c0261f8 feat: use StateObservables as React elements (#280)
* override all

* simplifyTypings

* feat: improvements and tests to `stateJsx`

Co-authored-by: Josep M Sobrepere <jm.sobrepere@gmail.com>
2022-09-09 12:39:32 +02:00
Josep M Sobrepere
39ba60bf81 feat: simplify EffectObservables to just Suspense 2022-09-09 12:39:32 +02:00
Víctor Oliva
420acd470a fix: Subscribe with async errors
Co-authored-by: Josep M Sobrepere <jm.sobrepere@gmail.com>
2022-09-09 12:39:32 +02:00
Josep M Sobrepere
19840fd332 feat: effect observables 2022-09-09 12:39:32 +02:00
Josep M Sobrepere
2b5b06c90f
@react-rxjs/core@0.9.8 2022-06-24 22:54:32 +02:00
Josep M Sobrepere
c777db70c0 fix: Subscribe with async errors
Co-authored-by: Victor Oliva <olivarra1@gmail.com>
2022-06-24 22:40:14 +02:00
Josep M Sobrepere
b5826b4e59
@react-rxjs/core@0.9.7 2022-06-14 15:47:36 +02:00
Josep M Sobrepere
af85c8a567 @react-rxjs/core: fix StrictMode error on immediate unmount 2022-06-14 15:45:41 +02:00
Josep M Sobrepere
26b6460c77
@react-rxjs/core@0.9.6 2022-04-29 10:50:08 +02:00
Josep M Sobrepere
e3d6f640e0 core: fix SUSPENSE typings 2022-04-25 15:13:29 +02:00
Victor Oliva
b194d558ca
docs: add description for toKeySet operator (#257)
Co-authored-by: Josep M Sobrepere <jm.sobrepere@gmail.com>
2022-04-21 14:39:15 +02:00
Victor Oliva
f9b6175694
feat: RemoveSubscribe component (#261) 2022-04-14 13:05:19 +02:00
Josep M Sobrepere
bb716cefb8 @react-rxjs/core@0.9.5 2022-04-11 15:36:12 +02:00
Josep M Sobrepere
8c71bcf086 types: make types compatible for React 18 2022-04-11 15:27:13 +02:00
Josep M Sobrepere
1516ed7df3 chore: yarn -> npm 2022-04-05 15:32:31 +02:00
Josep M Sobrepere
5c31503a1d @josepot/rxjs-state -> @rxstate/core 2022-04-05 10:49:18 +02:00
Josep M Sobrepere
2452f12ebc chore: upgrade dependencies 2022-04-05 10:49:18 +02:00
Josep M Sobrepere
da9fea8937
@react-rxjs/core@0.9.4 (#254) 2022-04-04 17:41:23 +02:00
Josep M Sobrepere
1af9c62033
fix: useStateObservable (#253) 2022-04-04 17:37:21 +02:00
Victor Oliva
6fe91f8a1b
feat: utils toKeySet (#252)
* feat: utils `toKeySet`

* Update packages/utils/src/toKeySet.ts

Co-authored-by: Josep M Sobrepere <jm.sobrepere@gmail.com>

* Update packages/utils/src/toKeySet.test.ts

Co-authored-by: Josep M Sobrepere <jm.sobrepere@gmail.com>

* organize test imports

Co-authored-by: Josep M Sobrepere <jm.sobrepere@gmail.com>
2022-04-01 10:16:12 +02:00
Josep M Sobrepere
ec8f8ad12d
partitionByKey fixes and improvements (#251)
* `partitionByKey` fixes and improvements

* fix `pendingFirstAdd`

* add order to sync test

* Update packages/utils/src/partitionByKey.ts

Co-authored-by: Victor Oliva <olivarra1@gmail.com>

Co-authored-by: Victor Oliva <olivarra1@gmail.com>
2022-03-30 23:31:02 +02:00
Josep M Sobrepere
78416fbed5
@react-rxjs/core@0.9.3 2022-03-30 15:48:48 +02:00
Victor Oliva
da4c7c6c30
fix Subscribe running in react18 StrictMode (#249) 2022-03-30 14:45:44 +02:00
Victor Oliva
fb7004a066
Improve performance of partitionByKey with a big number of elements (#232)
* Improve performance of partitionByKey with a big number of elements
* Improve performance of partitionByKey by not serialising the keys
* partition by key to emit deltas instead of the resulting keys
* update tests for partitionByKey
* update tests for combineKeys
* getGroupedObservable: close outer subscription once the inner stream is found
* add performance tests to partitionByKey
* make tests more predictable
* adjust performance threshold

Co-authored-by: Josep M Sobrepere <jm.sobrepere@gmail.com>
2022-03-30 11:36:14 +02:00
Josep M Sobrepere
73776b473b @react-rxjs/core@0.9.2 2022-03-29 15:25:12 +02:00
Josep M Sobrepere
8093bf39f9 fix: declare rxjs-state as external 2022-03-29 14:56:58 +02:00