How to Pass Data with Angular Router in Ionic 4

preview_player
Показать описание

The training platform for everything Ionic. 40+ Ionic Courses, Ionic tutorials and private community to help you learn Ionic fast.

#############################

#############################

You can also find me

#############################
Рекомендации по теме
Комментарии
Автор

2:35 Using Query Params (bad)
7:45 Service and Resolve Function (legit)
12:55 Using Extra State (new since Angular 7.2)

NoodlesDream
Автор

I freaking love this demo, I don't know why there's no info about this in the ionic docs, but you have save me a lot of work redoing my app! <3

RodrigoLoyola
Автор

Awesome, I had been trying to find a good example of this for Angular. Thanks to another commenter I skipped right to 12:55 and got the info I needed to finish up passing via state instead of Query params. Thank you very much for the video! I'd been stuck on implementing something for a few days and almost resulted to query params because I didn't want to build a service for a very small use case

plainlyeclectic
Автор

Thank you so much, Simon Grimm. This tutorial has helped me a lot with a project I am working on. You will definitely get my like and recommendations.

aguiarmike
Автор

Thank u so much sir...this is very useful for me....

rajnikantkumar
Автор

Mr. simon you are the best!!! i am from Ethiopia

ermiyaszeleke
Автор

Really amazing tutorial on pass data thank you, Mr Simon.

sadiqmmm
Автор

thanks Mr Simon . It's very clean

nicolasndour
Автор

Du sprichst mir immer wieder aus der Seele 😋

rebarius
Автор

Very usefull topic, thanks a lot SImon !

arnoldgamarra
Автор

hai simon, you don't have ionic 4 with MySQL tutorial? please help me to exercise the last project

firzahardyn
Автор

Why the solution with service is not working from tabs pages. I tried to set data in service before the router navigation, and in the ngOnInit when I get data from service I get undefined. I used resolver but it's not working. I think in each tab page a new instance of the service is created, and because of this the date is undefined, but I'm not sure. An other solution can be with Ionic Angular Storage. I tested and works fine. The solution with NavigationExtra with state works too, in Ionic 5. Please let me know why the solution with service don't work for tabs pages. Thanks! The video is great! You are great! I learned a lot from your tutorials.

ciprian-danielturca
Автор

Could make a tutorial about Push Notification for ionic 4? I'm really struggling with it hahaha. PS: your tutorials are really helpful. Thanks a lot :)

ThiagoSilvaOfficial
Автор

Thank you so much, really needed that !

tondar
Автор

i follow your tutorial it is very helpful now i want to know how can i pass only id of the object with queryparams

mamourndiaye
Автор

Thanks Simmon for this useful content.

victoravr
Автор

Thanks Simon! Greetings from Argentina! :D

SergioDavidLaserna
Автор

Now I understand each and every key points thanks man👍👍👍👍

vishnuj
Автор

Gracias, muy buen aporte, lo que buscaba por días. Apenas inicio en esta tecnología. Crack!

ErickMauEspinosa
Автор

Thanks again. You saved my life
Regards

revoldfmb