Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename createAction to createActionCreator and make createAction an alias for it #30

Closed
the-dr-lazy opened this issue Apr 3, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@the-dr-lazy
Copy link
Owner

the-dr-lazy commented Apr 3, 2019

Personally, I choose more declarative names over shorter. But as said, this is a personalized issue and some other developers prefer shorter names. Also, other similar libraries like redux-actions use createAction name for the action creator factory function! So this made a wrong convention between developers and at least we should adhere to this convention for now.

For the above reasons, I think the best way to cover both styles for now is to use declarative names inside the library.

For this purpose the createAction function should rename to createActionCreator and use createAction as an alias for createActionCreator to not make a break change.

@the-dr-lazy the-dr-lazy self-assigned this Apr 3, 2019
@the-dr-lazy the-dr-lazy added the enhancement New feature or request label Apr 3, 2019
@the-dr-lazy the-dr-lazy added this to the v1.4.0 milestone Apr 3, 2019
@the-dr-lazy the-dr-lazy added good first issue Good for newcomers help wanted Extra attention is needed labels Apr 3, 2019
the-dr-lazy pushed a commit that referenced this issue Apr 4, 2019
the-dr-lazy pushed a commit that referenced this issue Apr 4, 2019
the-dr-lazy pushed a commit that referenced this issue Apr 5, 2019
the-dr-lazy pushed a commit that referenced this issue Apr 5, 2019
the-dr-lazy pushed a commit that referenced this issue Apr 21, 2019
the-dr-lazy pushed a commit that referenced this issue Apr 21, 2019
# [1.4.0](v1.3.1...v1.4.0) (2019-04-21)

### Bug Fixes

* make rxjs/operators in UMD bundle an external dependency ([cf94ab7](cf94ab7)), closes [#41](#41)

### Features

* rename createAction to createActionCreator ([a855997](a855997)), closes [#30](#30)
@the-dr-lazy the-dr-lazy removed good first issue Good for newcomers help wanted Extra attention is needed labels Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant