Disadvantages of NX

Disadvantages of NX

Project Source Code

Get the project source code below, and follow along with the lesson material.

Download Project Source Code

To set up the project on your local machine, please follow the directions provided in the README.md file. If you run into any issues with running the project source code, then feel free to reach out to the author in the course's Discord channel.

Lesson Transcript

  • [00:00 - 00:08] To complete the overview of NX, we have to speak about disadvantages. One of advantages of NX was that the code is in the same place.

  • [00:09 - 00:17] At the same time, it's the biggest disadvantage. First of all, when you have a huge app, it means that you will have a huge amount of code in one place.

  • [00:18 - 00:31] It might be overwhelming. The next disadvantage is that not only you have to learn about Angular how to use it, you will have to learn about NX, and it's a bit demanding learning curve.

  • [00:32 - 00:40] It's good to know that NX might be too much for your application. If you have small or medium application, you probably are fine without NX.

  • [00:41 - 00:50] When you have a small app, you are able to organize your code without NX. And introducing NX to that application might over-complicate the whole process.

  • [00:51 - 00:59] The biggest disadvantage of NX is when you have multiple applications in repository, and you want to upgrade one of them. You're not able to do this.

  • [01:00 - 01:04] So you have to upgrade every application that you keep in your repo. It might be a problem.

  • [00:00 - 00:08] To complete the overview of NX, we have to speak about disadvantages. One of advantages of NX was that the code is in the same place.

    [00:09 - 00:17] At the same time, it's the biggest disadvantage. First of all, when you have a huge app, it means that you will have a huge amount of code in one place.

    [00:18 - 00:31] It might be overwhelming. The next disadvantage is that not only you have to learn about Angular how to use it, you will have to learn about NX, and it's a bit demanding learning curve.

    [00:32 - 00:40] It's good to know that NX might be too much for your application. If you have small or medium application, you probably are fine without NX.

    [00:41 - 00:50] When you have a small app, you are able to organize your code without NX. And introducing NX to that application might over-complicate the whole process.

    [00:51 - 00:59] The biggest disadvantage of NX is when you have multiple applications in repository, and you want to upgrade one of them. You're not able to do this.

    [01:00 - 01:04] So you have to upgrade every application that you keep in your repo. It might be a problem.