I've inherited an Angular codebase that contains all the latest tricks and techniques, and I'm having trouble understanding some key things. Normally when I inherit a codebase in any language, I find that I can search it for terms used in one place to see how they are implemented in others and gradually come to an understanding. This doesn't seem to work with NgRx Actions, however. I don't understand the point of code such as
const LOAD = '[Trailer Info Specifics] Load All ';
const load = createAction(LOAD);
export const TrailerInfoActions= {
load
}
When I search the codebase for "Trailer Info Specifics," it only appears in this one file. So what is the point of the name of the action? What digests this information and acts upon it? I've tried watching videos about Angular Reducers/Actions/Effects/Facades and my eyes just glaze over. None of this makes any sense. I come from the world of imperative programming, so I understand there is a learning curve, but this is just so confusing and none of the tutorials I've found are any good. I'm hoping someone can point me in the right direction.