Skip to content

Conversation

@amarpatel
Copy link

@amarpatel amarpatel commented Nov 30, 2017

redux-logger is awesome, thanks for making it!

Issue

The existing recipe for Transform Immutable (with combineReducers) uses let and var when const should be used, and has an unneeded ;.

Fix

I've refactored the examples to be more functional with appropriate variable usage.

Before:

screen shot 2017-11-30 at 10 46 52 am

After:

screen shot 2017-11-30 at 10 47 12 am

@amarpatel
Copy link
Author

The travis ci error isn't due to this change:

/home/travis/build/evgenyrodionov/redux-logger/src/core.js
  129:29  error  Strings must use singlequote  quotes

@amarpatel amarpatel closed this Aug 30, 2023
@amarpatel amarpatel deleted the update-readme-transforms branch August 30, 2023 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant