Closed kenneth-duverge closed 10 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
the-newsletter | ✅ Ready (Inspect) | Visit Preview | Jan 17, 2024 1:16am |
Idk too much about path aliases but I like how it improves the readability of the imports! It's also great from a 'tooling that scans for imports" or "file migration" perspective. Can you send me a relevant doc or 2 so I can quickly get up to speed on this concept?
For sure! It's just a way to not have a bunch ../../../
in your import path. Here's a good doc https://blog.logrocket.com/using-path-aliases-cleaner-react-typescript-imports/
Cleaning up imports to all use the
path
alias (@/components
)