Building an Ionic React Tab Bar Navigation

  Рет қаралды 6,247

Simon Grimm

Simon Grimm

Күн бұрын

Пікірлер: 42
@galaxies_dev
@galaxies_dev 2 жыл бұрын
Want to learn more about building mobile apps as well? Check out my free Quick Start Guide: ionicacademy.com/ionic-quickstart-guide/ 🔥 Make sure to subscribe for more! kzbin.info_?sub_confirmation=1
@darshkejriwal9333
@darshkejriwal9333 6 ай бұрын
Stuck on this routing for a week. Found this video. You saved me!!!! Thanks for this helpful tutorial man.
@galaxies_dev
@galaxies_dev 6 ай бұрын
So happy to help!
@kurtz1993
@kurtz1993 Жыл бұрын
Literally saved me from an issue with double animation on iOS, because my router was not setup properly! Thank you Simon!
@galaxies_dev
@galaxies_dev Жыл бұрын
Glad I could help Luis!
@luclekene7362
@luclekene7362 Жыл бұрын
Your the best Simon , It is because of content like yours that the ionic community cannot collapse, thank you for your content, you have no idea how much you help us ionic developers, thank you again and a lot of courage for the future💪
@galaxies_dev
@galaxies_dev Жыл бұрын
Thank you so much for your kind words ❤️
@victory_lucky
@victory_lucky 2 жыл бұрын
This came in handy, please do you have the same project in angular?
@galaxies_dev
@galaxies_dev 2 жыл бұрын
This would be it: kzbin.info/www/bejne/lXPRdIV_j5ahes0
@oman7787
@oman7787 2 жыл бұрын
Hi, can we see the curriculum of the new ionic react course? this is the only course I am interested in and would like to base my decision on that
@galaxies_dev
@galaxies_dev 2 жыл бұрын
Send me an email to saimon@devdactic.com and I'll give you a screenshot, but it simply covers the React Ionic basics so far :)
@robguntitan
@robguntitan 2 жыл бұрын
Hi Simon what do you prefer for Ionic apps, angular or react? Greetings from Germany :-)
@galaxies_dev
@galaxies_dev 2 жыл бұрын
I am still faster with Ionic, but I start liking React as well. The result is really the same - depends on which framework you prefer!
@alexhopkins639
@alexhopkins639 2 жыл бұрын
Hello Simon! Great video as usual. Just a quick queston. For example from your video. Is it possible to go from Tab1 --> Details page --> THEN go to Tab2 --> (and here is the tricky part) Then get back to Tab1 BUT now you should see not home page of the Tab1 but Details page instead (or the page you last interact with on the tab). This is very popular logic in many apps. For example you can easy observ this behavior in the GitHub iOS app. I am struggle with this for long time and i am still wondering is it possible or not with Ionic. Thank you so much in advance Simon.
@galaxies_dev
@galaxies_dev 2 жыл бұрын
Usually every tab of the tab bar should keep track of it's stack and views are intentionally not destroyed - maybe your navigation triggers a reload of the root tab page instead of showing the last open page and therefore somehow destroys that nav history?
@lucaszorzi492
@lucaszorzi492 2 жыл бұрын
What a timming, i'm starting a project tomorrow with tab bar navigation hahah, btw love your vids, ty for all!!
@galaxies_dev
@galaxies_dev 2 жыл бұрын
Awesome, hope this saved you some time Lucas!
@vincenteliezer
@vincenteliezer 2 жыл бұрын
Hello champ...I love how you started doing react ionic...just requesting if you can do ionic react hardware back button. 👏👏
@galaxies_dev
@galaxies_dev 2 жыл бұрын
Will add this to my list Vincent!
@vincenteliezer
@vincenteliezer 2 жыл бұрын
@@galaxies_dev thank you!
@dosss_
@dosss_ Жыл бұрын
Hey Simon! have you had any issues where there would be "flickering" when switching between tabs, or when opening up the "/detailsonly" page there would be a janky animation (previous page will slide across halfway, pause, and then complete)
@galaxies_dev
@galaxies_dev Жыл бұрын
No not really, then usually something in the UI or code is off!
@dosss_
@dosss_ Жыл бұрын
​@@galaxies_dev all good! I actually tried starting fresh `ionic start ionic-starter-app tabs --type="react"` and implemented the "/detailsonly" page like in the video and could reproduce the animation issues. So I'm guessing it's something to do with the latest vers. of Ionic
@alejandrol5933
@alejandrol5933 Жыл бұрын
Hey Dosss, I have a same error. Were you able to resolve the error?
@dosss_
@dosss_ Жыл бұрын
@@alejandrol5933 not yet, i gave up and used a modal instead 😂 I was going to raise it as an issue to ionic repo, but i couldn’t reproduce it on a codesanbox. I’ll set some a fresh repo one time and use it as the example
@dosss_
@dosss_ Жыл бұрын
@@alejandrol5933 not yet, i gave up and used a modal instead 😂 I was going to raise it as an issue to ionic repo, but i couldn’t reproduce it on a codesanbox. I’ll set some a fresh repo one time and use it as the example
@leonardopillay4200
@leonardopillay4200 2 жыл бұрын
Hey Simon great tutorial. Do you have any idea how to reload the tab when using the ionic tabs component in angular? When navigating and returning the data does not reset or refresh.
@galaxies_dev
@galaxies_dev 2 жыл бұрын
You could probably use a different state management with RxJS in a service! Otherwise tabs are meant to be cached and therefore don't reload, it's by design!
@leonardopillay4200
@leonardopillay4200 2 жыл бұрын
@@galaxies_dev Thank you for the response I have been wracking my brain to see if there was a way with configuration but state management should work. With regards to navigation do you have a best practice with dealing with back navigation on web apps as this can really make a PWA frustrating? For example, while navigating in the app it remembers the history when using the back button.
@Skalexsong
@Skalexsong Жыл бұрын
Hey, great tutorial, just curious, what would happen if we put all the routing inside that tabs component ? so let say, the login and protected route (home, profile, etc) are inside the tabs router ? so all the URL of the apps will look like the usual website like /home, /login, /profile, not like /login, /app /app/profile, /app/settings
@galaxies_dev
@galaxies_dev Жыл бұрын
Good question Sami, did you gave it a try? I know that for Angular the routes are children of a component and would therefore render "within" the Tabs interface, so not 100% sure how it would work for React!
@Skalexsong
@Skalexsong Жыл бұрын
@@galaxies_dev I got it a little buggy, not sure if I have my setup wrong or something else, so I ended up following the example from ionic itself and that's all I need, thank you for your reply :)
@celestial8610
@celestial8610 Жыл бұрын
this guy is awesome
@galaxies_dev
@galaxies_dev Жыл бұрын
Than you 🙌
@celestial8610
@celestial8610 Жыл бұрын
@@galaxies_dev :v
@zakirhoosen4404
@zakirhoosen4404 2 жыл бұрын
How would I build a drag and drop ionic app builder ?
@sven_93
@sven_93 2 жыл бұрын
do you have a smiliar video (login into tabs area) for angular?
@galaxies_dev
@galaxies_dev 2 жыл бұрын
This should come close to it: kzbin.info/www/bejne/iKbYgJecr55-rsU
@ashwini_2010
@ashwini_2010 2 жыл бұрын
👌
@owenwexler7214
@owenwexler7214 5 ай бұрын
I was trying to control a tab bar via a display useState in an Ionic React app and almost got away with such an anti-pattern, but there's no way to scroll to the top on switch of the tabs so if I'm scrolled down to the middle of one tab, switching tabs will get me to the middle of the new tab instead of going to the top which is horrible UX. window.scrollTo(0, 0) does not work for this since the content in question is in an which for some Godforsaken reason in Ionic is a shadow DOM under the hood, and using useRef with the element and doing a scrollToTop() does not work for the same reason (even though according to Ionic it should, yay jankiness), so I'm going to have to implement real tab navigation via React Router/Ionic clearly and hope that is doable in the context of my app and results in a better UX.
@Philson
@Philson 2 жыл бұрын
Oh. Aren't you the Angular guy? Why doing React now?
@galaxies_dev
@galaxies_dev 2 жыл бұрын
I'm the "build mobile apps with web tech guy" ;)
Storing Data in React apps with Ionic Storage
36:19
Simon Grimm
Рет қаралды 7 М.
Building an Ionic React Side Menu Navigation
23:29
Simon Grimm
Рет қаралды 6 М.
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 32 МЛН
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 153 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 23 МЛН
Mia Boyka х Карен Акопян | ЧТО БЫЛО ДАЛЬШЕ?
1:21:14
Что было дальше?
Рет қаралды 11 МЛН
What's new in Ionic 6.2 🎉
19:26
Simon Grimm
Рет қаралды 9 М.
5 JavaScript Concepts You HAVE TO KNOW
9:38
James Q Quick
Рет қаралды 1,4 МЛН
Building an Ionic Searchable Select Component with Angular
28:36
Simon Grimm
Рет қаралды 12 М.
Ionic React - Geolocation
12:20
Paul Halliday
Рет қаралды 4,4 М.
How to use a SOAP API with Ionic
22:24
Simon Grimm
Рет қаралды 4,2 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 76 М.
10 React Antipatterns to Avoid - Code This, Not That!
8:55
Fireship
Рет қаралды 761 М.
Using Capacitor Native HTTP with Ionic
19:26
Simon Grimm
Рет қаралды 12 М.
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 32 МЛН