hughhhh commented on issue #4836: Refactoring on exploreReducer.js
URL: 
https://github.com/apache/incubator-superset/pull/4836#issuecomment-382525145
 
 
   I was following the same pattern for the Object.assign which is merging 
state and controls together. I've refactored it using the spread operator 
notation.
   ```
   > a
   { foo: 'bar' }
   > b
   { hugh: 'miles' }
   > {...a, ...b}
   { foo: 'bar', hugh: 'miles' }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to