mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: add note about dev-server startup and styles (#58751)
A note has been added to the application builder documentation regarding the Vite-based development server and style processing that could potentially result in initial FOUC due to server processing overhead on startup. PR Close #58751
This commit is contained in:
committed by
Andrew Kushnir
parent
f8e5119435
commit
a3521df6aa
@@ -179,6 +179,10 @@ ng serve
|
||||
|
||||
You can continue to use the [command line options](/cli/serve) you have used in the past with the development server.
|
||||
|
||||
HELPFUL: With the development server, you may see a small Flash of Unstyled Content (FOUC) on startup as the server initializes.
|
||||
The development server attempts to defer processing of stylesheets until first use to improve rebuild times.
|
||||
This will not occur in builds outside the development server.
|
||||
|
||||
### Hot module replacement
|
||||
|
||||
Hot Module Replacement (HMR) is a technique used by development servers to avoid reloading the entire page when only part of an application is changed.
|
||||
|
||||
Reference in New Issue
Block a user