DEV Community

Mariusz
Mariusz

Posted on • Edited on

React Tldr; Typescript: Working with Paths, Packages and Yarn Workspaces

  • Typescript path aliases are useful for shortening import statements and reaching modules from deep nested components.
  • Deploying your own Typescript packages is an effective means of reusing your code and decreasing the size of your final projects.
  • Where projects require multiple packages, yarn workspaces can be leveraged, and used in conjunction with a dedicated tool called Lerna.

Source:https://medium.com/@rossbulat/typescript-working-with-paths-packages-and-yarn-workspaces-6fbc7087b325

Top comments (0)