Tamas Fodor created METRON-2134:
-----------------------------------
Summary: Add NgRx reducers to perform parser and group changes in
the store
Key: METRON-2134
URL: https://issues.apache.org/jira/browse/METRON-2134
Project: Metron
Issue Type: Sub-task
Reporter: Tamas Fodor
Assignee: Tamas Fodor
In NgRx, reducers are responsible for performing actual state changes in the
global store. When something has been changed, it's the reducer's job to put it
in the store in the appropriate way.
[https://ngrx.io/guide/store/reducers]
The implementation is pretty straightforward. Every reducer has the appropriate
action to listen to and react to it. For example if we would like to start a
parser, there must be a "start parser" action in order to trigger a state
change that hasn't happened yet. It's the responsible who will update the store.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)