React Native Tutorial #14 - Flexbox Basics

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ธ.ค. 2019
  • Hey gang, in this React Native tutorial we'll take a look at Flexbox, which can be used to layout the different components in our app.
    Flexbox course - • CSS Flexbox Tutorial
    ----------------------------------------
    🐱‍💻 🐱‍💻 Course Links:
    Course files - github.com/iamshaunjp/react-n...
    🐱‍💻 🐱‍💻 Other Related Courses:
    + Complete React Tutorial - • Complete React Tutoria...
    + React Hooks & Context Tutorial - • React Context & Hooks ...
    + Modern JavaScript Tutorial - • Modern JavaScript Tuto...

ความคิดเห็น • 77

  • @alyssaflores8230
    @alyssaflores8230 4 ปีที่แล้ว +47

    THE BEST FLEXBOX EXPLANATION ON EARTH!
    THANK YOU!

  • @sanketgore2515
    @sanketgore2515 3 ปีที่แล้ว +18

    Its altogether a different feeling when we see our own app run😀

  • @alvin_lal
    @alvin_lal 4 ปีที่แล้ว +4

    This is the best explanation about flexboxes i have found on the web so far!!, thanks so much

  • @ojitelikenechukwu3895
    @ojitelikenechukwu3895 2 ปีที่แล้ว +2

    Wow, this is the BEST flex box tutorial, I have ever come across
    In 18+ minutes, I have understood what I have been having issues with for a long time

  • @chemedev
    @chemedev 4 ปีที่แล้ว +6

    Awesome tut! Just wanted to point that the default for align-items is 'stretch' :) (11:40)

  • @angelarojas1603
    @angelarojas1603 4 ปีที่แล้ว +7

    Thanks for making such a great tutorial series! Easily my fav :)

    • @NetNinja
      @NetNinja  4 ปีที่แล้ว +1

      Thanks Angela :)

  • @hassanmehmood7101
    @hassanmehmood7101 ปีที่แล้ว

    yo your the best at explaining flexbox i couldnt understand these properties for weeks

  • @jeanjoulia1386
    @jeanjoulia1386 4 ปีที่แล้ว +1

    Amazing work as always!

  • @TP29
    @TP29 10 หลายเดือนก่อน

    Thanks, Brooo, simple and quick tutorial, especially if you already know how to use React.

  • @ecodedesign
    @ecodedesign 4 ปีที่แล้ว +7

    Thank you teacher from the bottom of my ♥.
    Awesome explanation..

  • @rekahorvath3759
    @rekahorvath3759 ปีที่แล้ว

    Wow! Thank you for the best explanation of flexbox 🙏

  • @nidharshanaranganathan289
    @nidharshanaranganathan289 4 ปีที่แล้ว +1

    YOUR VIDEOS ARE SO SO GOOD :") IT'S VERY HELPFUL

  • @RezaKhareisaPutra12
    @RezaKhareisaPutra12 4 ปีที่แล้ว

    this is what i'm looking for. great!

  • @elgizhasanzada
    @elgizhasanzada 3 ปีที่แล้ว

    All of your tutorials are just AWESOME *_* . Thx The Net Ninja

  • @user-kp1ym2wl2j
    @user-kp1ym2wl2j 4 ปีที่แล้ว +5

    Thank you, master!

  • @shadon_official2510
    @shadon_official2510 2 ปีที่แล้ว

    SUCH AN AMAZING TUTORIAL

  • @waliahmed3035
    @waliahmed3035 3 ปีที่แล้ว +1

    this is a video before covid 19 - such a good year .. i miss it

  • @mohamedmostafa2334
    @mohamedmostafa2334 3 ปีที่แล้ว +2

    Great video, just pointing out at 11:36 the default value for align items is stretch not flex-start :) flex-start is the default for justify content only

  • @prawiraadam
    @prawiraadam 3 ปีที่แล้ว

    Well explained, thanks a lot!

  • @MrVipulLal
    @MrVipulLal 2 ปีที่แล้ว

    Man, you are good! Thanks for this video.

  • @nallaperumalthanthondri3817
    @nallaperumalthanthondri3817 2 ปีที่แล้ว

    Wonderful content. Thanks a lot

  • @CristianSanchez-zu5sl
    @CristianSanchez-zu5sl 2 ปีที่แล้ว

    Amazing tutorial

  • @youngun550
    @youngun550 ปีที่แล้ว +2

    Thanks so much for all your brilliant work Shaun. I wanted to ask, when you were talking about the scrolling problem. Was that essentially the equivalent of an overflow problem? My understanding so far is that flex stops the list container from overflowing at the bottom of the screen. Is that the right way to think of it.
    With flex:1 it might get easy to be lazy about it and just trial and error it until it does what you want haha, would be cool to figure out what use cases it shines for and when not to use it. This is deffo a good one though :)

  • @oshabzsam9773
    @oshabzsam9773 4 ปีที่แล้ว +2

    This is great

  • @doniaelfouly4142
    @doniaelfouly4142 2 ปีที่แล้ว

    very informative ,thanks

  • @ecodedesign
    @ecodedesign 4 ปีที่แล้ว +1

    My all time favourite #The Great #Netninja.. love from 🇮🇳

  • @shadon_official2510
    @shadon_official2510 2 ปีที่แล้ว

    awesome tutorial

  • @daminduliyanage
    @daminduliyanage 3 ปีที่แล้ว

    Thank you great tutorial

  • @wilsonb4175
    @wilsonb4175 4 ปีที่แล้ว +1

    Thank you sensei

  • @whoami-so2hy
    @whoami-so2hy 3 ปีที่แล้ว

    thanks for sharing 😁

  • @charlesorafu490
    @charlesorafu490 3 ปีที่แล้ว

    You are awesome. Thank you

  • @shishirchitre1945
    @shishirchitre1945 3 ปีที่แล้ว

    What a nice video!!

  • @DrNabeel20
    @DrNabeel20 3 ปีที่แล้ว

    Thank you 💚

  • @narharos4974
    @narharos4974 4 ปีที่แล้ว

    Thank you very much

  • @jayanisumudini6662
    @jayanisumudini6662 4 ปีที่แล้ว +1

    Thank you.

  • @amirazouak5298
    @amirazouak5298 2 ปีที่แล้ว

    I love how he says "Axis"....best accent ever :)

  • @manangupta1789
    @manangupta1789 4 ปีที่แล้ว

    You're the best !

  • @muhebollahkhandaker
    @muhebollahkhandaker 4 ปีที่แล้ว

    Good presentation

  • @kayan_dev
    @kayan_dev 4 ปีที่แล้ว

    love it

  • @mohsol86
    @mohsol86 2 ปีที่แล้ว

    Thanks!

  • @RizaHariati
    @RizaHariati 2 ปีที่แล้ว

    Thank you

  • @manoj-k
    @manoj-k 2 ปีที่แล้ว

    🔥🔥🔥

  • @joeharris4737
    @joeharris4737 3 ปีที่แล้ว +2

    Sorry to keep going on, but this is such a good series, better than the paid ones on Udemy by a country mile

    • @NetNinja
      @NetNinja  3 ปีที่แล้ว +1

      Thanks so much :)

  • @nfaical3
    @nfaical3 4 ปีที่แล้ว

    Thanks

  • @abhishekgadewar4616
    @abhishekgadewar4616 ปีที่แล้ว

    one doubt i have is after I save my changes everytime the todolist does not get refreshed. It stays to what it was after adding or deleting todos

  • @MrDania101
    @MrDania101 2 ปีที่แล้ว

    thanks

  • @DiabloVal
    @DiabloVal 4 ปีที่แล้ว

    Why is item passed in an object and we need to destructure it to access it in the flatlist renderItem prop

  • @vuongqtvn
    @vuongqtvn 2 ปีที่แล้ว

    ❤️

  • @parimalbhattarai3920
    @parimalbhattarai3920 4 ปีที่แล้ว +1

    why is the flex property not working on my react native ??? can anyone explain please ?

  • @sujaysingh3803
    @sujaysingh3803 2 ปีที่แล้ว

    Hi, if the todo item is tool long it is going outside the list container. Please help

  • @xiaoweiwu7069
    @xiaoweiwu7069 4 ปีที่แล้ว

    Hi Ninja,just ask a question which one you prefer ,flutter or react native

  • @davidfield2030
    @davidfield2030 ปีที่แล้ว

    You mention that you have also used Flutter. Which do you prefer?

  • @alperari9496
    @alperari9496 2 ปีที่แล้ว

    Calling components as widgets, flutter devs feel you man

  • @SunriseBusinessClub
    @SunriseBusinessClub 3 ปีที่แล้ว

    How to clear textinput after adding TODO?

  • @DrFaseehAhsan
    @DrFaseehAhsan 3 ปีที่แล้ว +1

    Why is the flatlist not stretching to the bottom of the screen?? When we use 'flex:1', it is supposed to flex till the end of screen right?? We haven't added any margin toooo.........Is that a default behaviour??

    • @farook_
      @farook_ 3 ปีที่แล้ว

      Same question 🤔

    • @TheThirdWorldCitizen
      @TheThirdWorldCitizen 3 ปีที่แล้ว +2

      Because of the padding of the content element which is wrapping the form and the list. It's set at 40 in the tutorial. I now it's a late reply but probably useful for someone else just starting on the series.

  • @judyg6988
    @judyg6988 2 ปีที่แล้ว

    what is the difference between height:100% and flex:1
    why view will not scroll if i set the height:100% while it dose if i set flex:1 ??
    it is a little bit confusing to me

  • @sankalpjain4841
    @sankalpjain4841 4 ปีที่แล้ว +1

    if we do like this in container why is it not working,
    flexDirection:'column',
    justifyContent:"flex-end",

    • @sankalpjain4841
      @sankalpjain4841 4 ปีที่แล้ว +1

      Got it,we have to do flex:1 to make it work

  • @furkanaydogan821
    @furkanaydogan821 4 ปีที่แล้ว

    Hi, Where can I find to codes of backgorundColor ?

  • @arie7135
    @arie7135 ปีที่แล้ว

    why in 14:19 box 1 and box 3 are not equal? Both of them have flex: 1

    • @arie7135
      @arie7135 ปีที่แล้ว

      I see.. because if padding

  • @yahyazuberi2597
    @yahyazuberi2597 4 ปีที่แล้ว

    Your github link doesn't contain any lesson code. Please check

    • @NetNinja
      @NetNinja  4 ปีที่แล้ว +1

      Hey it's not empty - you just have to select the correct branch for each lesson (top left, drop down on the repo) :)

  • @andreas_bergstrom
    @andreas_bergstrom ปีที่แล้ว

    14:37 box one and three are clearly not the same width

  • @kiranpawar2463
    @kiranpawar2463 4 ปีที่แล้ว +1

    𝓣𝓱𝓪𝓷𝓴𝓼 𝓯𝓸𝓻 𝓰𝓻𝓮𝓪𝓽 𝓻𝓮𝓪𝓲𝓬𝓽 𝓷𝓪𝓽𝓲𝓿𝓮 𝓼𝓮𝓻𝓲𝓮𝓼 👍🏻

  • @punjabiwithjasman135
    @punjabiwithjasman135 4 ปีที่แล้ว

    Plz upload more flutter related content....plz

  • @dolfinho87
    @dolfinho87 3 ปีที่แล้ว

    Thanks!