mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00: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:
parent
f8e5119435
commit
a3521df6aa
1 changed files with 4 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue