Use immutability-helper for all frontend reducers

Description

Immutability-helper allows declarative updates that do not update the original state. It should be used in all reducers because it:

  • helps prevent accidental update of the previous state

  • is usually more concise than manually making deep clones of state (easier to read and maintain).

Editor reducers already use it. Other reducers in zanata-frontend should all use it. Audit the reducers and update so that all are using immutability-helper. Reducers should have tests before this update.

Activity

Show:

Details

Assignee

Reporter

Labels

Tested Version/s

Components

Priority

More fields

Created 19 July 2017 at 02:01
Updated 27 June 2018 at 06:28

Flag notifications