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

HMR works in components and reducers but not in actions #52

Open
brunesto opened this issue Apr 3, 2017 · 0 comments
Open

HMR works in components and reducers but not in actions #52

brunesto opened this issue Apr 3, 2017 · 0 comments

Comments

@brunesto
Copy link

brunesto commented Apr 3, 2017

Hi, maybe I am missing something, but I cannot get HMR to work inside actions:
npm install
npm start

then modify friend.js
function addFriend(name: string) {
return {
type: ADD_FRIEND,
name:NAME+" XXXX"
};
}

but after this change the new friend's name are still added without XXXX

If I refresh the page, the change is taken into account, so it seems to be a problem in HMR?

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

No branches or pull requests

1 participant