#Ngrx signalStore

3 messages · Page 1 of 1 (latest)

sturdy badger
#

so after migrating to the new signaStore architecture i have this methode in my store :
which is load reclamation from a model and update the State as u can see in the methode and i implement this methode in the ngOnInit like this :
it displays undefined when dispatching the action and while when i console log the uid of the apporteur which is inlude in the 1st methode is displays correctly so could you help please ( chatgpt didn't understands 😢 )

silver thunderBOT
#

Hi @sturdy badger, please do not post pictures/screenshots of code (especially photos of a physical screen). Screenshots are more difficult to read compared to code in a codeblock, and they do not allow people answering to quickly copy and adjust your code to provide you with an answer.

For copy/pasting code in a discord post, you can use the following snippet to have your code placed in a codeblock with syntax highlighting. Replace ts with the language you are copying (i.e. html, js, css, etc)

```ts
// your code goes here
```

See #how-to-get-help for more tips on how to ask code related questions in this server.