442 Commits

Author SHA1 Message Date
Víctor Oliva
7f1b449ecf fix types + subinstance test case 2023-09-21 17:47:54 +02:00
Víctor Oliva
c445530090 pass context to createRoot on run 2023-09-15 16:04:16 +02:00
Víctor Oliva
abfd3ad3fe migrate to vitest 2023-07-29 23:56:19 +02:00
Víctor Oliva
f34a69b639 Merge branch 'main' into react-bindings 2023-07-29 23:44:46 +02:00
Victor Oliva
39f9a743a3
upgrade dependencies, migrate to vitest (#303) 2023-07-29 20:56:51 +02:00
Victor Oliva
fb57cdbbea
fix: default condition should be last one (#304) 2023-07-12 12:23:36 +02:00
Víctor Oliva
030c578f10 wip 2023-07-11 22:07:20 +02:00
Víctor Oliva
625c9cc773 @react-rxjs/core@0.10.5
@react-rxjs/dom@0.1.9
@react-rxjs/utils@0.9.6
2023-07-11 21:41:20 +02:00
Victor Oliva
0c251ef596
fix(utils/selfDependent): prevent subject from being closed after unsub (#283) 2023-07-11 21:35:34 +02:00
Victor Oliva
6aa83ddd11
fix: types not read when moduleResolution is not "node" (#302)
fixes #298
2023-07-11 21:20:25 +02:00
Víctor Oliva
422b0ebb1e wip 2023-07-11 16:00:58 +02:00
Víctor Oliva
07c6a42841 change api of subinstance to do more than one update on a single tick 2023-07-11 00:05:53 +02:00
Víctor Oliva
552c5d4ccb move new implementation to packages/context-state 2023-07-10 23:37:27 +02:00
Víctor Oliva
d298d287ce remove old implementation 2023-07-10 23:34:54 +02:00
Víctor Oliva
eb767346f1 Merge remote-tracking branch 'origin/contextv2' into context-state 2023-07-10 23:34:14 +02:00
Victor Oliva
06918bb467
add subinstance tests (#301) 2023-07-10 07:36:07 +02:00
Víctor Oliva
0c7b337d54 wip 2023-07-07 09:51:00 +02:00
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
Víctor Oliva
155fb04484 @react-rxjs/core@0.10.4 2023-03-11 22:35:17 +01:00
Victor Oliva
afce5fa7c1
fix: routeState routes not updating if the key stays the same (#286) 2022-11-15 10:55:57 +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
Victor Oliva
ae315b323e
add changelog (#285) 2022-10-27 11:15:31 +01: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