Angular detected that `HttpClient` is not configured to use `fetch` APIs. (Angular 17 - SSR)
16:57 19 Nov 2023

I got this error after updating to angular 17:

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.

I think after coding my services and importing HttpClient via inject functions it reached to this.

angular httpclient fetch-api server-side-rendering