Skip to content

Conversation

@seriousManual
Copy link
Contributor

No description provided.

@timdorr
Copy link
Member

timdorr commented Mar 22, 2018

Thanks!

@timdorr timdorr merged commit b8b596e into reduxjs:master Mar 22, 2018
@markerikson
Copy link
Contributor

FWIW, the existing example was valid. It's an ES6 object literal, with a computed key as the function name, and a function declaration directly as part of the object.

Admittedly not the easiest thing to read, but it was valid.

@timdorr
Copy link
Member

timdorr commented Mar 22, 2018

Ah, I didn't know you could combine those two, but that makes sense.

@seriousManual
Copy link
Contributor Author

wow, didn't know this!
thanks for the clarification, with the added colon and fat arrow the readability might a bit better though :)

@seriousManual seriousManual deleted the patch-1 branch March 23, 2018 08:31
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.

3 participants