-
Notifications
You must be signed in to change notification settings - Fork 104
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
react hot loader 4.6 broken #77
Comments
Which version of react-easy-state are you using? v6.1.x migrated to React hooks when possible under the hood. Maybe the issue has to do something with that. |
I does not matter if 6.1.1 or 6.0.6 both behave the same in this case |
I setup a repo for reproduction https://github.com/pungggi/rhl see Branch hotload4_6 this uses the latest packages with react hot loader ^4.6.0 |
Thanks! I will look into this.
…On Sun, Feb 24, 2019, 22:26 pungggi ***@***.***> wrote:
I setup a repo for reproduction
https://github.com/pungggi/rhl
see Branch hotload4_6 this uses the latest packages with react hot loader
^4.6.0
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#77 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGoj7n-X5dYTNUVtZxexBvThFZOxjIxyks5vQwOhgaJpZM4bOkYR>
.
|
opened an issue in react hot loader too. |
@pungggi Did you manage to solve this? |
@pungggi why was this issue closed? How can I make react-hot-loader work with react-easy-state? |
Hello, did anyone managed to solve this, or is it still not working? |
I do not mean to spam, but I feel like this is a really important issue and should not be ignored as it makes easy-state kinda not usable right now. Some statement about this would be highly appreciated, thank you. |
Looking into this. It seems to be an issue with functional components only. Did anyone have issues with class components and HMR? |
I just released v6.1.3 which hopefully fixes this issue 🎉 Please reopen it if the issue stays for any of you. Sorry for the long wait! |
Nice work perfectly, thanks 👍 |
Hello first of all, great project!
I am not sure where to start explaining my issue maybe its here may be its react hot loader..
maybe its linaria.
I am using gatsby with react easy state.
gatsby 2.0.69 introduced a new version of react-hot -loader 4.6
Then I use a css in js solution called linaria.
As of this version Props passed to a styled` component are not hot updated if they are wrapped with view from react easy state..
For example:
Box.js
then i consume
index.js
If I change the classColor it updates.
But changing the value of the
padding
prop does not trigger a reload. This was working with gatsby 2.0.68 that uses react hot loader 4.5.The text was updated successfully, but these errors were encountered: