My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Routes containing params ("/app/:id") in ReactJS is not loading the linked css files in index.html file Why ?

Ahmad Raza's photo
Ahmad Raza
·Feb 21, 2018

While building a ReactJS project, I have linked some css files directly in index.html file instead of importing them in js/jsx file. It works fine if the route is plain like ("/app") but it do not load that css files against the routes containing params ("/app/:id"). Why and what is the solution.