Would something like this be a bad idea? And is there some built-in function that would be able to check if route matches pattern (I imagine link active has to be doing something like that).
privateaction$=createEffect(()=>this._router.url$.pipe(// url is /products/detail/123filter((url)=>ofRoute('/products/detail/:id',url)),tap(console.log));
Would something like this be a bad idea? And is there some built-in function that would be able to check if route matches pattern (I imagine link active has to be doing something like that).