-
Book Overview & Buying
-
Table Of Contents
Building Micro Frontends with React 18
By :
To be able to deploy only the micro apps that have been impacted by modifications to a file, we basically need to be able to do two things:
For the second point, from the previous section, we now know how to let the Firebase CLI know which micro-app we would like to be deployed. We will look at how to achieve the first point in the next subsection.
The NX dev tools come with a handy command called nx affected, which is able to keep track of what files changed from the previous commit and highlight the apps that have been impacted due to the changes to these files.
This is a nifty feature that can be used for various purposes, such as speeding up the execution of tests by running unit tests or build commands only against projects that have been impacted by changes to certain...