I am using ngrx(redux) and I have a list of items displayed (virtual scrolling). On click of a toolbar add button I dispatch Add action and reducer adds one more object to the list and returns new state.
How do I highlight the newly created row?
Should I keep in state a new property with id of the record which is created newly? I might have to scroll the newly created item in view also. Because as the list is virtually scrolled, the component may get destroyed and recreated if user is scrolling the list.