Skip to content
Discussion options

You must be logged in to vote

Hey @Tiime-LcsGa, I don't think that withCallState works for those fine-granular updates. Have you ever though about extending the entity itself with such a callstate property?

So you would have something like this:

type TodoView = Todo & { status: 'deleting' | 'updating' | 'pristine'} // whatever status you find fit.

signalStore(
  withEntities<TodoView>(),
  // ...
)

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Tiime-LcsGa
Comment options

@rainerhahnekamp
Comment options

Answer selected by Tiime-LcsGa
@Tiime-LcsGa
Comment options

@rainerhahnekamp
Comment options

@Tiime-LcsGa
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants