When requesting data from the backend, the following error appears:
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.
When requesting data from the backend, the following error appears:
NG02801: Angular detected that
HttpClient
is not configured to usefetch
APIs. It's strongly recommended to enablefetch
for applications that use Server-Side Rendering for better performance and compatibility. To enablefetch
, add thewithFetch()
to theprovideHttpClient()
call at the root of the application.