mfe- / get-the-solution

get-the-solution.net
http://www.get-the-solution.net
1 stars 11 forks source link

NG02801: Angular detected that `HttpClient` is not configured to use `fetch` APIs. It's strongly recommended to enable `fetch` for applications that use Server-Side Rendering for better performance and compatibility. To enable `fetch`, add the `withFetch()` to the `provideHttpClient()` call at the root of the application. #75

Closed mfe- closed 9 months ago

mfe- commented 9 months ago

With angular 17 the following warning was generated when using HttpClient

NG02801: Angular detected that `HttpClient` is not configured to use `fetch` APIs. It's strongly recommended to enable `fetch` for applications that use Server-Side Rendering for better performance and compatibility. To enable `fetch`, add the `withFetch()` to the `provideHttpClient()` call at the root of the application.