Create-React-App: solving import help with aliases (or Craco)
It is very important to have consistent import statements in your react projects, and to preserve relative paths hell, ex. ../../../utils/smth.ts
looks much more ugly than ~/utils/smth.ts
.
Unfortunately, latest versions of typescript support this trick worse and worse (I don’t know why, in fact).