Skip to main content
2 votes
2 answers
224 views

I have an Angular 19 app and I am trying to add a route title resolver that gets the page title by looking up some data in the results of an Observable. The issue is that when the app first loads, the ...
Chris Barr's user avatar
  • 34.8k
2 votes
1 answer
70 views

I am using an Angular resolver to load initial Data of my page. As known it is possible to either return an observable or a promise. In my case I have this: export class MySiteResolver implements ...
T. Jami's user avatar
  • 1,179
1 vote
0 answers
57 views

I have an inconsistent navigation issue when authenticating on my website. On authentication from the login page, there is a navigation to the home page (auth only). On occasion, the navigation fail, ...
Jules Charlet's user avatar
1 vote
1 answer
86 views

Not a long ago I've deployed my project. Only after deploying I realized that I have this "Cannot GET" problem when refreshing my page: Cannot GET / on page refresh with express I've fixed ...
librogil's user avatar
  • 163
1 vote
0 answers
155 views

I'm having a route /invoices/:invoiceId for an invoice detail view which needs to be protected with 2 conditions User needs to be authenticated --> Redirect to login page Invoice with given id ...
schaenk's user avatar
  • 721
1 vote
1 answer
98 views

Before all my components are rendered, my app needs some basic data that has to be available to all components. Therefore I wrote a resolver that returns an observable. export const appRoutes: Route[] ...
David Mason's user avatar
  • 1,561
0 votes
0 answers
69 views

I'm interested in adapting the following code for route resolvers. private categorySubject = new Subject<number>(); categorySelectedAction$ = this.categorySubject.asObservable(); ...
IMOsiris's user avatar
  • 155
1 vote
1 answer
631 views

Overview Hi there, I am in the process of migrating my Angular app from v14 to v17, and one of the tasks that comes with this is replacing the old deprecated Resolver classes with the new ResolverFn ...
IMeyers20's user avatar
  • 341
2 votes
1 answer
487 views

I have this scenario: I am saving the query params in a service in order to keep alive this data if the user close the browser, using the resolvers I am using the result from the active route to add ...
Tabares's user avatar
  • 4,385
1 vote
1 answer
145 views

My app tries to auto-redirect user from '/' to correct other path. To do that we need to make a request for some data and only then decide where to redirect the user. The options are just a few, and ...
Mike's user avatar
  • 989
0 votes
2 answers
336 views

I have a lazy loaded module with all it components declared and routes added in RouterModule.forChild() but some of these routes have their resolver that will prefetch some data And call a service to ...
mohamed hassan's user avatar
-1 votes
1 answer
734 views

I'm just really looking for some general advice on best practice here as it's the first time I've had to use resolvers. So the current flow of my application... App initialisation function to check ...
OrangeJuice1-'s user avatar
1 vote
2 answers
1k views

In the past I can use a class based resolver where I can inject HttpClient in the constructor, but that's been deprecated Source. I'd like to make an HTTP get request in a functional resolver. How do ...
Jerome's user avatar
  • 914
4 votes
1 answer
4k views

While attempting to deprecate instances of Angular's "Resolve" class implementation for the preferred functional implementation "ResolveFn", I ran into a perplexing issue. I have a ...
Tina Rogers's user avatar
0 votes
0 answers
3k views

[SOLVED] Original : export enum RecipeActions { SET_RECIPES = '[RECIPES] SET_RECIPES', FETCH_RECIPES = '[RECIPES] SET_RECIPES', // MISSED THIS ADD_SINGLE = '[RECIPES] ADD_SINGLE', ADD_MULTI = '...
leroyv's user avatar
  • 133

15 30 50 per page
1
2 3 4 5
10