422 Commits

Author SHA1 Message Date
Víctor Oliva
4511e4440c trying to solve that issue 2023-07-04 23:59:04 +02:00
Víctor Oliva
1efed6b2d2 add failing test 2023-07-04 23:58:34 +02:00
Víctor Oliva
6a7894eede move common subscription logic into a helper function 2023-07-04 23:48:37 +02:00
Víctor Oliva
e1b689c203 fix case on nested substates 2023-07-04 23:48:13 +02:00
Víctor Oliva
9a4d690779 add object-based API 2023-06-29 22:40:23 +02:00
Víctor Oliva
e719931523 subinstance proposal 2023-06-29 20:26:45 +02:00
Víctor Oliva
e57de5dc3a 100% covfefe on signal, route and substate 2023-06-29 20:19:14 +02:00
Víctor Oliva
8a3c5cb227 combineStates 100% covfefe 2023-06-28 23:58:21 +02:00
Víctor Oliva
c9abc0bb6a combineStates 2023-06-28 23:58:21 +02:00
Víctor Oliva
8996590e43 create-signal 2023-06-28 23:58:21 +02:00
Víctor Oliva
c962741c82 alternative implementation of internals 2023-06-25 20:07:37 +02:00
Josep M Sobrepere
c0a790fd4f WIP 2023-03-13 21:41:54 +01:00
Josep M Sobrepere
94dadcce1e
WIP 2022-11-03 15:24:30 +01:00
Víctor Oliva
8aefadfd72 improve finalizationRegistry test util 2022-10-29 12:39:23 +01:00
Víctor Oliva
ed4c2a49c4 export missing types 2022-10-29 13:36:31 +02:00
Víctor Oliva
c75896006f test: memory leaks on circular substates 2022-10-26 13:36:18 +01:00
Víctor Oliva
7daa43f286 test: teardown self-referencing states 2022-10-26 13:35:57 +01:00
Josep M Sobrepere
48c6a38d47
fix: nodes can reference its siblings irregardless of definition order (#284)
* fix: nodes can reference its siblings irregardless of definition order

* fix: avoid `forEach` when there can be re-entrant instances

* fix: avoid possible mem-leak on delayed observable
2022-10-26 09:22:34 +02:00
Víctor Oliva
0e48b72d30 test: create-signal 2022-10-25 17:41:12 +01:00
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
86e9a4874c
chore: fix package-lock.json 2022-09-09 12:40:47 +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