angular/angular-update-guide

Error on update instructions for deprecation of withServerTransition

albanx opened this issue · 0 comments

albanx commented

Hi guys
First thanks for the hard work on this amazing framework (been working with it since long time)

I am updating my homezone.al app to use angular 16, so far all good, I got struggle for some time on changing the BrowserModule.withServerTransition. The instructions on https://github.com/angular/angular/blob/main/CHANGELOG.md#platform-browser-4 are saying to replace it with { provide: APP_ID, useValue: 'serverApp' }, in imports where actually should say to move it into the providers array:

image

Found out the hard way after some failures.

Thanks
Alban