mfe- / get-the-solution

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

upgrade to angular 17 #74

Closed mfe- closed 9 months ago

mfe- commented 9 months ago

Upgraded from angular 16 to 17 using https://update.angular.io/?v=16.0-17.0

Running this app as angular universal can result in the warning:

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.

which needs to be fixed with an own PR. A provided solution would involve replacing platformBrowserDynamic to bootstrapApplication which seems not straight forward. see also https://discord.com/channels/748677963142135818/1032369622294474803/1185930772012609586