Hacker News new | ask | show | jobs
by Klaster_1 1457 days ago
As an Angular developer, I find these DX issues mildly annoying:

1. Slow rebuild times.

2. Takes a long while to start a single unit test suite, using the default Jasmine setup.

3. No HMR.

4. Very awkward router API.

1 comments

HMR is here since v12, stable since v13.

Test and, especially, builds time issues can be greatly reduced using Nx - give it a try. In one project (~400 components/directives) we’ve reduced the CI cycle (lint, test, build, deploy) from 50-55 minutes to 2-7 minutes. I know it sounds too good to be true, but there is no magic behind it: you can read how “nx affected” and remote cache works. It's basically free to use, we are using a free tier for every project.

One more thing: with Nx, it’s much easier to generate libraries, and you don't need to rebuild them to see the changes. Because of that, most of the code natively and without friction moves to libraries with time.