Now that we learned how to work with parents, let's go to another place where we need Perm's.
That's the product detailed screen there.
I'm also getting parents to get the product title.
And here again, we can do that not with navigation, get Perm's, but with route parents dot product
title.
And we can try it like this because on this page here on this screen, parents should actually never
be on the flight because we always reach this screen with a parent set and therefore we can try it like
this and see what it works.
It should work.
Now, let's see if we have get parents somewhere else.
Yes, we do so here as well.
We access the route Propp programs and then product ID.
Now, if we save all of that.
And we reload this application.
We still have that error here on the starting screen, on the admin page.
The product also is gone, so we'll have to look into that.
But for the moment when we create a new product again.
Like this.
Test book.
And we submit this.
We got it here.
And that looks good, I can click on it and edit it now, however, to see whether we can view the detailed
screen, we need to make sure we can load it here on all products.
So let's see which problem we're facing there.
Why does this not loading?
And for me, the problem actually just was that I had set up a new firebase back in here and I forgot
to unlock access for authenticated users.
So I did that now off screen.
And once it did that.
It should not also be working again, so for now, try to add this, this works now to Kierra is also
gone because now a key is generated on the back end of reusing that here.
And now if we go to the product screen, I also see my product there.
Now, if I click on it, we can also go to the detail page without errors per click.
Add to Cart.
We should have it in the car, hopefully.
There it is, the click order.
Now that's empty.
Let's check orders and here's our order where we can view the details.
So this is now all looking pretty good to me.
Let's try logout again.
Yep.
And with that I think we successfully migrated this to react.
Navigation five.
That's also tried in the U.S. and then in the next lecture, I'll sum up the important changes and where
you can learn more.
So here are logging in on us, I can do the details, I can add it to the cart, can view my card here,
can go to orders to admin, I can delete it there.
That's looking good.
Back to products cart is empty now, so that all looks good to me on iOS.