How To Setup Storybook In React Native & Expo - Revisited 2024

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024

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

  • @rickcode22
    @rickcode22 5 หลายเดือนก่อน +1

    Awesome! Thankd buddy!

    • @fede-balzi
      @fede-balzi  5 หลายเดือนก่อน

      Cheers mate, glad it was helpful

  • @michelacasadei1323
    @michelacasadei1323 10 หลายเดือนก่อน +2

    Fantastico!!!❤

  • @katyyatesss
    @katyyatesss 10 หลายเดือนก่อน +2

    This is so great

  • @diptasudipta7
    @diptasudipta7 8 หลายเดือนก่อน

    Thanks. Perfectly explained. You earned a sub here ;)

    • @fede-balzi
      @fede-balzi  8 หลายเดือนก่อน +1

      Thanks @diptasudipta, glad you found it useful!

  • @dannyhw
    @dannyhw 9 หลายเดือนก่อน +1

    Great video :)

    • @fede-balzi
      @fede-balzi  9 หลายเดือนก่อน +1

      Thanks Danny, especially with all you do for Storybook!

  • @AshutoshGowardhan-lj5ff
    @AshutoshGowardhan-lj5ff 4 หลายเดือนก่อน +1

    Thank You,

  • @Giorbislorie
    @Giorbislorie 8 หลายเดือนก่อน +1

    Really good video, thanks

    • @fede-balzi
      @fede-balzi  8 หลายเดือนก่อน

      Thanks you! Glad you found it useful

  • @joasama9763
    @joasama9763 7 หลายเดือนก่อน +1

    Good video

    • @fede-balzi
      @fede-balzi  7 หลายเดือนก่อน

      Thank you 🙏

  • @meenumakkar9470
    @meenumakkar9470 4 หลายเดือนก่อน

    How to run the storybook on web in the same setup?

  • @CKOIUSERNAME
    @CKOIUSERNAME 9 หลายเดือนก่อน

    Thanks

  • @MarcosVinicius-ut3pj
    @MarcosVinicius-ut3pj 7 หลายเดือนก่อน +1

    Please, do a Video setting up storybook on a ReactNative project using expo-router

    • @fede-balzi
      @fede-balzi  7 หลายเดือนก่อน

      As far as my knowledge of expo-router goes, you should be fine following the set up on this video for Storybook

  • @senoremc4628
    @senoremc4628 9 หลายเดือนก่อน +1

    "Great video, thank you! I'm using Expo with SDK 48 and followed your steps. However, when I run 'npm run storybook,' I encounter the following error:
    app@1.0.0 storybook
    STORYBOOK=1 expo start -c
    It says 'STORYBOOK' is not recognized as an internal or external command, operable program, or batch file. Can you please help me with this?"

    • @fede-balzi
      @fede-balzi  9 หลายเดือนก่อน

      Hey, the environment variable is not being picked up by your machine.
      if you're using Windows try changing the script to the following:
      => "storybook": "set STORYBOOK=1 && expo start -c".
      If you're on a Linux/MacOS, try installing cross-env:
      => npm install cross-env --save-dev
      Then update the script to be the following:
      => "storybook": "cross-env STORYBOOK=1 expo start -c"
      Let me know how it goes.
      Fede

  • @gnom-om
    @gnom-om 9 หลายเดือนก่อน

    do you know how storybook affect RN performance? or you agree use any tool than to learn stylesheet?

    • @fede-balzi
      @fede-balzi  9 หลายเดือนก่อน

      All the Storybook code won’t be shipped or bundled, so no performance decrease.
      Storybook is not a replacement to StyleSheet, imagine it as an environment where you can view your components in isolation.

  • @jmquilario
    @jmquilario 9 หลายเดือนก่อน

    it doesn't work in CLI, can you create a tutorial for CLI?

    • @fede-balzi
      @fede-balzi  9 หลายเดือนก่อน

      Hi, what problem have you encountered? If you’re having trouble dynamically launching the Storybook scripts, there is an approach for CLI in the description