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

Not changed styles by HMR after route change #5

Closed
ShiiRochi opened this issue May 13, 2018 · 1 comment
Closed

Not changed styles by HMR after route change #5

ShiiRochi opened this issue May 13, 2018 · 1 comment

Comments

@ShiiRochi
Copy link

ShiiRochi commented May 13, 2018

I added the following button to the detailed view of record, lets call it RootButton, and met some kind of a bug.
The following code it related to the button:
<Link to={'/'}><Button block={true} color="warning" size="small">Back</Button></Link>
The problem is, that everytime when I change button's color property, HMR seems to work properly and it is visible that, for example, warning has changed to primary and button changed its representation, however if I will go to the root page and then click on another "More info" button, then this LinkButton of that record page will look oldstyled, i.e. with warning style.

@ShiiRochi ShiiRochi reopened this May 13, 2018
@GaddMaster
Copy link

GaddMaster commented Feb 17, 2020

I have a similar issue where I changed CSS and nothing happens.
Are you sure you javascript is on because it needs to be on for the HMR to take effect I do believe

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

3 participants