React JS imports made easy with Absolute paths using jsconfig.json

Saurabh Shah
2 min readDec 20, 2020
Photo by George Bakos on Unsplash

I desperately wanted to get rid of relative paths like “../../../components/Blah” from most of my react application files.
It makes me uncomfortable to see that in the list of imports.
Make react app code more readable with absolute paths. Get rid of relative paths.

--

--

Saurabh Shah

Solutions architect in IT organization. Experience on wide range of solutions for web and mobile apps with cloud integration.