Armen Vardanyan
banner
armenvardanyan.dev
Armen Vardanyan
@armenvardanyan.dev
GDE for Angular, front-end team lead. I write articles and talk at conferences
Oh, nice. Will read the article a bit later, thanks!
November 28, 2025 at 9:02 AM
This looks super amazing, but makes me ask: what about the API tokens? Surely they are not stored on the frontend, so how does this work?
November 28, 2025 at 8:43 AM
No idea for plain objects, but for signals you can just use and effect
December 10, 2024 at 9:26 AM
You could do a mapping in an if statement

But of course the API's gonna be refined
December 2, 2024 at 3:35 PM
Good catch, but it can also be mitigated with RxJS (I just forgot to put that logic 🤣)
December 2, 2024 at 3:12 PM
Yeah, but in general, the scenario can be more complex
December 2, 2024 at 3:11 PM
Good approach actually - if it's one case, do the mapping here, if multiple - use computed
December 2, 2024 at 12:15 PM
I might want to use that exact mapped value always. So it makes sense to compute it, not set.

But you're correct, it is a writable signal
December 2, 2024 at 12:14 PM