Tuesday, June 30, 2020

Navigating to the same component with different params + Angular 9

I share example how navigate the same component but with different params.

TS

1. On your constructor, 'type' is name of params on url, and setupComponent is a method.









2. Method setupComponent.











That it is, when you change the params on url, te value on setupComponent changes.















No comments:

Post a Comment

🚀 Spring Boot 3.5 → 4.0.3 Migration Summary

Import Changes, API Adjustments & Compatibility Results Migration summary from Spring Boot 3.5 → 4.0, including breaking changes, depend...