According to Angular Official Documentation for Angular 14+, any
is depreciated:
any': Provides a unique instance in each lazy loaded module while all eagerly loaded modules share one instance. This option is DEPRECATED.
I haven't found anything on the web. What would be a good replacement for it?
You should be using root instead of any
or NgModule
. Those two have next to no use cases and are most likely used incorrectly. You can read further here: Angular - Update Angular to v15
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.