Non-abstract class 'NoopLocationStrategy' does not implement inherited abstract member 'getState' from class 'LocationStrategy'.
Closed this issue · 1 comments
Hello!
After Angular update to v14 our application no longer can use this library because NoopLocationStrategy doesn't implement method 'getState'. Could you fix that please? Or can I make a PR?
Thanks in advance.
Hey @Plastiquewind!
I can unfortunately not upgrade this library to Angular 14 due to unresolvable Ivy and AOT issues.
For an immediate mitigation, I would suggest that you replace the NoopLocationStrategy
of the library with a copied version of that class where you implement the new getState
function. The class itself is rather simple and doesn't introduce further dependencies to be copied.
For a long-term solution, @xkons and I have recorded a YouTube video that explains all the steps for routing (and other aspects like language, theming, etc.) without the need for the ngx-elements-router
library:
https://www.youtube.com/watch?v=ee17YczpCpU
I will upgrade the library description to point to this approach.