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

fix(store): always set action type #206

Merged
merged 7 commits into from
Apr 2, 2018
Merged

fix(store): always set action type #206

merged 7 commits into from
Apr 2, 2018

Conversation

deebloo
Copy link
Member

@deebloo deebloo commented Apr 2, 2018

The goal of this PR is to mitigate any minification or name collision issues.

My First thought was to use Symbol but since that isn't supported by any IE browsers id rather not force folks to depend on a polyfill so I am thinking use a small Token class and use that as the token if none is provided. The hope here is to create completely unique actions without depending on the user to add a static property themselves.

Questions:
How would this impact plugins?
Are there performance implications?

Fixes #200

@amcdnl @leon

@deebloo deebloo requested review from leon and amcdnl April 2, 2018 17:35
Copy link
Member

@amcdnl amcdnl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@amcdnl amcdnl merged commit 615f8ef into master Apr 2, 2018
amcdnl added a commit that referenced this pull request Apr 2, 2018
amcdnl added a commit that referenced this pull request Apr 2, 2018
* Revert "fix(store): only add type if none exists (#207)"

This reverts commit e73b565.

* Revert "fix: websockets sending"

This reverts commit 7b3499f.

* Revert "fix(store): always set action type (#206)"

This reverts commit 615f8ef.
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.

None yet

2 participants