React Native Tutorial - 20 - StyleSheet API

Sdílet
Vložit
  • čas přidán 29. 07. 2023
  • 📘 Courses - learn.codevolution.dev/
    💖 Support UPI - support.codevolution.dev/
    💖 Support Paypal - www.paypal.me/Codevolution
    💾 Github - github.com/gopinav
    📱 Follow Codevolution
    + Twitter - / codevolutionweb
    + Facebook - / codevolutionweb
    📫 Business - codevolution.business@gmail.com
    StyleSheet API
    React Native Tutorial
    React Native Tutorial for Beginners

Komentáře • 19

  • @agentNirmites
    @agentNirmites Před 2 měsíci +5

    Just in case you forgot how to start a new project. npx create-expo-app@latest StylingRN --template blank@sdk-51 (Current SDK version is 51).

  • @uthayasakthivel3886
    @uthayasakthivel3886 Před 6 měsíci +5

    If you still have doubts about why we use StyleSheet instead of a simple object, there's another significant reason. Using StyleSheet, which is JavaScript-based styling, allows you to conditionally apply styles.
    Eg:
    const styles = StyleSheet.create({ container: { backgroundColor: IsRed ? 'red' : 'orange', }

  • @nanonkay5669
    @nanonkay5669 Před 5 měsíci +8

    Another important thing to note is since it's not CSS, the styles DO NOT CASCADE. So you cannot set the font or color in a parent element and expect it to affect child elements, it won't work.

  • @latakantsharma3134
    @latakantsharma3134 Před rokem +5

    Hey it's really nice learning from you.. I would request you to plz make a video on the tailwind css and react native end to end config...

  • @post_eternity
    @post_eternity Před 2 měsíci

    Thanks for making this video, God bless you.

  • @nextleveltech267
    @nextleveltech267 Před 4 měsíci

    Thank you ❤️❤️

  • @DeepLook1
    @DeepLook1 Před rokem

    Than u....

  • @mishraji4808
    @mishraji4808 Před rokem +2

    Sir could you please make one video on how we can create best file structure in react native?

  • @alifhasanshahOfficial

    Do we have framework or component library to design our app? Just like in react tailwind is so much popular and it's component library such as daisy ui or flowbite make design things much easier.

    • @theangelofspace155
      @theangelofspace155 Před rokem +1

      Yes, you can use tailwind and/or nativewind. Not everything is supported.

  • @otabekyetovqoziyev3222

    👍👍👍👍👍

  • @theangelofspace155
    @theangelofspace155 Před rokem +1

    Not tailwind/nativewind? 😢

  • @user-qq1yl5um8p
    @user-qq1yl5um8p Před 10 měsíci

    creating 10 project on react native

  • @locktolook
    @locktolook Před rokem

    Bro plz do flutter video playlist

    • @locktolook
      @locktolook Před rokem

      @@user-te4dk6eb6f yes because react native we only create Android and IOS . But in flutter we can also create Laptop, tab, systems like Mac , windows and Linux also

    • @locktolook
      @locktolook Před rokem

      @@user-te4dk6eb6f your welcome

  • @abdurrahmankhan2434
    @abdurrahmankhan2434 Před rokem

    Hindi please