Angular 18 feature allows redirection to accept a function that returns a string It means in previous version redirect to property accept a path while configuring the routes And in Angular18 redirect to property accepts a function that returns a string so now we can redirect it to a route depending upon some dynamic condition using a function So with the help of this feature we can implement more complex logic for redirects based on runtime states.
Click here to watch full video : • #1 Angular 18 Tutorial | Angular 18 -...
If you learn anything from my channel @FEDLearning then please help me to increase my Subscribers.
Subscribe to my Channel : / @fedlearning
Thanks!!