aptlyundecided / TomatoProgramming

1x 25 minute of programming as often as I can
0 stars 0 forks source link

NgRx: Call Actions by function name rather than string #3

Open aptlyundecided opened 4 years ago

aptlyundecided commented 4 years ago

I think it would be better to call the actions by their function name rather than the 'type' string. There isn't any linting help for the strings, where there is plenty of help built in for typo checking or just actual TYPE checking for a real function.

It's worth a shot, and it'll only make you more familiar with the NgRx spec.