You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MiniRx Signal Store uses the same concept as the original RxJS-based MiniRx Store. As a result there is a lot of code which can be shared between the two store solutions. For that reason the @mini-rx/common lib was created. @mini-rx/common is already used by the Signal Store.
Refactor MiniRx Store (mini-rx-store lib) to make use of the @mini-rx/common lib. Own custom implementations should be replaced with code from @mini-rx/common.
Signal Store should be used as orientation. In the end Signal Store and MiniRx Store should look quite identical. The main difference is that Signal Store is tailored to Angular Signals and MiniRx Store uses RxJS.
Subtasks
This is a quite large task. But is is definitely possible to create smaller sub-tasks:
Background
The MiniRx Signal Store uses the same concept as the original RxJS-based MiniRx Store. As a result there is a lot of code which can be shared between the two store solutions. For that reason the @mini-rx/common lib was created. @mini-rx/common is already used by the Signal Store.
See here the full public API of @mini-rx/common: https://github.com/spierala/mini-rx-store/blob/master/libs/common/src/index.ts
Task
Subtasks
This is a quite large task. But is is definitely possible to create smaller sub-tasks:
connect
method for FeatureStore and ComponentStoreTests
mini-rx-signal store is covered by a lot of unit tests.
The tests will make the refactor relatively safe.
Indeed some tests can also be removed if mini-rx-store code is replaced with @mini-rx/common code.
The text was updated successfully, but these errors were encountered: