Signals
select
import { select } from '@ngxs/store';
class AppComponent {
invoiceId = select(InvoiceState.getInvoiceId);
}Create select and dispatch maps
createSelectMap
import { createSelectMap } from '@ngxs/store';
class AppComponent {
selectors = createSelectMap({
invoiceId: InvoiceState.getInvoiceId,
invoiceSignature: InvoiceState.getInvoiceSignature,
invoiceLines: InvoiceLinesState.getInvoiceLines
});
}createDispatchMap
Using utilities with NgRx SignalStore
Last updated

