Lernest
Lernest

Reputation: 21

React CSS Stylesheet not applying to only my solution

My stylesheet for my React project isn't applying correctly to only one of my components. It works for other components, it also works for ALL the components when my coworkers are running the project, this seems to be a problem for only me. What could be causing this issue?

Upvotes: 1

Views: 62

Answers (2)

Lernest
Lernest

Reputation: 21

As SoroushOwji commented, the browser was caching the previous CSS. The solution was to empty the cache and do a hard reload.

Upvotes: 1

Nicolae Bogus
Nicolae Bogus

Reputation: 5

Look at import in that component, maybe the path of css is wrong write, is better if some code is showed, then we can exactly say wich problem is!

Upvotes: 0

Related Questions