Skip to content

Conversation

@rstuven
Copy link

@rstuven rstuven commented Sep 25, 2015

    it('can be used as object key', () => {
      const actionCreator1 = createAction('TYPE1');
      const actionCreator2 = createAction('TYPE2');
      const handlers = {
        [actionCreator1]: () => {},
        [actionCreator2]: () => {}
      };
      expect(Object.keys(handlers)).to.have.length(2);
    });

@acdlite
Copy link
Contributor

acdlite commented Nov 18, 2015

Clever!

@rstuven
Copy link
Author

rstuven commented Nov 20, 2015

Now the branch is up-to-date :)

@lukewestby
Copy link
Contributor

Neat!

@adambabik
Copy link

👍

Can we expect to get it merged soon?

@gameboyLV
Copy link

👍
amazing feature

@moimikey
Copy link

bump

@timche
Copy link
Member

timche commented Apr 23, 2016

Could you update the branch? I've made some commits to master to fix some stuff like eslint. I would like to bring this feature in, if @acdlite is fine with that.

@PolakAllen
Copy link

I was looking for this feature, and was considering making it myself if it wasn't there.

Glad I looked.

@timche
Copy link
Member

timche commented May 15, 2016

@rstuven We will probably also need to update the README if we want to merge this. Can you include this in your PR as well? Thanks.

@moimikey
Copy link

!!!

@timche
Copy link
Member

timche commented May 21, 2016

Closing because the author doesn't respond.

@timche timche closed this May 21, 2016
@timche
Copy link
Member

timche commented May 21, 2016

This feature will be continued in #51.

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.

8 participants