#2 Slider - React Native Fashion

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ส.ค. 2024
  • In this series, we are building a React Native App from 0 to 1.
    The source code is available via the Start React Native Subscription at start-react-native.dev.
    The app is based on the Outfitr - Fashion UI Kit from Flexin Studio (gumroad.com/l/sfEm)
    Are you sometimes asking yourself, "Can it be done in React Native"? Send me your suggestions at wcandillon@gmail.com
    VSCode theme: Palenight Operator
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    react native developers are blessed to have you on board. thank you bro

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

    Thanks for making me feel bad. RN developer for 3 years and I can't even center things without stackoverflow.

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

      Looooool

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

      Dude, same!

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

      🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣

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

      hahaha the harsh reality

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

      i feel the same. he is just so good.

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

    Nice background music! very relaxing! Thank you very much for your hard work, William!

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

    One of the best tutorial for react native and animations I have found till now great work William 👍🏻

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

    Really like the new concept, using a design from Figma and making it a reality, combining more real life application with beautiful animations 👍 keep on the great work!

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

    you are indeed the most perfect with animations.
    i havent seen such varieties of animations and gestures tutorials in any other channel.
    thanks for making such free stuff for us 🥳

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

    excellent! Developing now for more than 3 years and I'm surprised that I learned something new. I like your code styling and the calm approach to solve problems! Keep on.

  • @serifgeyik1750
    @serifgeyik1750 3 ปีที่แล้ว +8

    Use these imports at below guys for problem at minute 20:00
    onscrollEvent,useValue etc
    It worked for me hope it helps.
    ----------IMPORTS----------
    import Animated from "react-native-reanimated";
    import {
    useValue,
    interpolateColor,
    onScrollEvent,
    } from "react-native-redash/lib/module/v1";

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

    I just love how you animate things without relying on slider components. I'm working on a react-native app and every time we need to use a slider we just go and install a slider component :( And we are lacking so many animations. Thanks to your course I hope to be able to add some more life to the app :) Thank you for the great content.

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

    every every second shows your struggle towards your field..a lot of learning behind every concept..knows exactly what he is doing ..

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

    I really like the UI you have choose!
    Thank so much!

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

    Already loving this series! Keep it up!

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

    Awesome this is the best series for RN!! One thing I noticed is if I swipe fast sometimes it swipes two slides at once. Also, each screen has a border-radius of 75 in start and end but in your video, it shows only in the first. Can't wait for next episode :D

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

    I really enjoy watching this and also love ❤️ the background music 🎶

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

    For the people who are having problems with Animated, background colors missing, and so on, it is necessary to use old versions of some libs like "react-native-reanimated": "1.9.0", "react-native-redash": "14.2.1". When you get a white background, don't forget to add # before the color name.

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

    Guilty of liking the video and watching after that.but never regretted .Thanks a bunch.

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

    I smile while watching you Code.

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

    I love this series.

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

    You can rename the fonts to ”bold” ”normal” and ”regular” to avoid always going back to the app.js. Great job btw

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

    This is sooo good, exactly what I was searching for, I learn a lot of things from this

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

    It works perfectly !! Keep doing the great work

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

    Thank you, William. Love your content

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

    Thanks for everything. Good job

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

    Great content. Thank you William

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

    Thanks for this incredible series - very inspiring!
    I wish I could follow along, but can't figure out the right redash / reanimated import...

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

    King of ReactNative

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

    Great work!

  • @tony-ma
    @tony-ma 4 ปีที่แล้ว

    Hi William, really like your video. Can you please also do a video for what VS code extensions do you use? And walk through the key features of them? Thanks

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

    Awesome, really appreciated video

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

    Thanks, William!

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

    great work.

  • @Chris-mb3zn
    @Chris-mb3zn 4 ปีที่แล้ว +1

    Awesome video as per usual William. Have you been tempted to use styled-components?

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

    Been waiting for this all day mannn 😆 first viewww

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

    Amazing! I thought it was going to be a weekly video.

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

    the border top radius is applied just in the first slide. In your mockup is applied in all the slides.

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

      After adding translateX:multiply(X,-1) to SubSlide container broke this

  • @HungVu-qz6wn
    @HungVu-qz6wn 4 ปีที่แล้ว

    Hi William, have you ever thought of using "Styled Components" for styling your React Native Components?

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

    Keep up the good work 👍👍

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

    Beautiful slider!!!!! Nice
    Hey William!
    Why you don't create a package or separete component with this slider.
    I'm planning an app and I'd like to use it :D

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

    You make it look so easy... ;)

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

    to bring the setting sheet in the simulator , i think you can press cmd + r

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

    I would probably keep all the moving content inside.1 Slide component, but either way it's an awesome tutorial!

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

    Where did you get the background instrumentals they are so cool

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

    Great! What about footer borders on scrolling? The first page looks good but it does disappear on scrolling to next pages

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

    Thank you so much!

  • @user-lm7es8mr7s
    @user-lm7es8mr7s 4 ปีที่แล้ว

    Is there any particular benefit of setting defaultProps on component at 38:32 in place of marking variant as optional in props and using default value when destructuring props, like so: ({ variant = "default", label }: ButtonProps) => {} ?

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

    Love it, just one thing, why the other screens excepts the first one does not have the borderTopLeftRadius of footer?

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

      Because the outside container stretches to full width and that’s the one holding the radius. You basically just need to apply the border radius onto the inner container

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

    Thanks for video! Just have a question. How can I get current index of ScrollView element when i using const { scrollHandler, x } = useScrollHandler();???

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

    Awesome series Wlliam. Just want to point out one thing i.e. the curve after first screen is missing. If it's fixed in future videos than ignore this comment please.
    Really appreciate your efforts. Thanks for making such a great series. I'm going very slow with lectures but I'm learned a lot in first 3 videos.

  • @tony-ma
    @tony-ma 4 ปีที่แล้ว

    Hi William, can you please make it bouncing when swiping to left on the first slide or swiping to the right on the last slide.

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

    Amazing !!!

  • @VinhTruong-fo5bh
    @VinhTruong-fo5bh 4 ปีที่แล้ว

    Great! Amazing

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

    hi, thanks for these great videos. I have a question . why the expo react native app minmum apk size is 40 MB. is there are any solution to reduce the size.

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

    Awesome!

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

    hello William, say you have a pagination indicator (dot indicator) at the bottom, how would keep track of what screen you are currently on in order to update which screen is currently showing? :)

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

    Nice one.

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

    Thank you for this series! I am really loving it. As a new RN developer I am looking foward for the next episodes. By the way, what is the name of that plugin that highlights the values for hexadecimal colors?

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

      My guess is Color Highlight by Sergii Naumov

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

    Nice! Thanks

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

    Hi William, do you know a way to use `styled-components/native` with `Animated` ?

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

    You’re so good men

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

    amazing

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

    Thank you

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

    Oh so is not just me, you also have the bug on vscode adding a double comma on save.
    I have a question, any reason you don't use React.FC?

  • @event-subscriber
    @event-subscriber 3 ปีที่แล้ว

    Hello, could you explain please why we use i * width instead of just i in input range? 22:30

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

    can you tell me what tool snippets did you use, thank you

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

    @William , what is setting of your vscode. It shows all autocomplete behaviour.

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

    thank you willy can

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

    Hello, I need a flat list with optimization for the contact list. could you create a video for this? I didn't find a single thing on this. I have tried all the given solutions on the internet and perform all the optimization.

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

    Sensacional !

  • @austin-nh1rl
    @austin-nh1rl 3 ปีที่แล้ว

    Hey william am getting this error when trying to implement the transtions Module '"../../../node_modules/react-native-redash/lib/typescript"' has no exported member 'useValue'
    useValue and onScrollEvent are not exported from react-native-redash

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

    I can't say I'm a react native developper after watching your videos

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

    Hello william, please how can I get the images you used on the sliders

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

    Where can I have the link of the background songs?

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

    quick question, I'm trying to write along with you, and useValue doesn't exist in the modern redash library, what can I do instead?

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

    i cant get the redash bit to work especially "useValue()"...seems its been updated

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

    the variable backgroundColor error: Type 'AnimatedNode' is not assignable to type 'false. Help? The screen is all white.

  • @gokulraj-ru1fv
    @gokulraj-ru1fv 2 ปีที่แล้ว

    Bro I have created a app with onboarding screen and when I log out on first installation it crash but after words it's work perfectly. On first installation in log out I clear context which leads to the error and shows that previous stack is null while cleaning up in log out. But on second launch after wards it's work as normal on log out it come back to log in screen why it occurs?

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

    some one have problems with the LoadAssets.tsx in [Font.loadAsync(fonts), ...assets.map((asset) => Asset.loadAsync(asset))],
    () => setReady(true).
    the error say : Type 'Promise' is not assignable to type 'Promise'.
    Type 'Asset[]' is not assignable to type 'void | void[]'.
    Type 'Asset[]' is not assignable to type 'void[]'.
    Type 'Asset' is not assignable to type 'void'.
    and problems with the react react-native-redash 😪

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

    I'm here for the fast forward music XD

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

    Hi, interpolation doesnt work with Reanimated 2, is there any workaround?

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

    🙏🏽 very nice, thnx

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

    Hi bro can u please help me out that I am not able to use "react-native-redash" without this I am not able to use useValue and onScrollEvent

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

    What font do you use in vscode?

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

    what font do you use in Vscode?

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

    Can you pls do calendar like in Microsoft teams in react native??

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

    regard to the animated.view , it is not working for me ,

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

    Great 👍🏻👍👍

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

    I am not able to use useValue with react-native-redash.

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

    How to change the color of Statusbar in Android with respect to the theme's color

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

    17:20 I am sorry, but I could not find a solution. I get this error when using onScroll: "this.props.onScroll" is not a function". How do I fix this easily?

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

      UPD: I fixed this by deleting "Animated" from react-native and adding it to react-native-reanimated, hope it helps!

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

      @@someuser257 just move "Animated" from react-native to react-native-reanimated ??that's not working on me

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

      sorry ma bad, I'm using {} before, thanks bro

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

    Still don't know how multiply(x, -1) worked actully - can anyone explain ??

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

    I was trying this in javascript way but i stucked on redash..is there another way

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

    Hello William, I am stuck at react native redash issue :( could you please help ? I tried package downgrading ("react-native-reanimated": "1.9.0", "react-native-redash": "14.2.1") and neither this worked Try this import { useValue, interpolateColor, onScrollEvent } from "react-native-redash/lib/module/v1"; 🙏requesting you to please help

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

    Why don't you use styled-components?

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

    Name of closing song?

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

    BackgroundColor thing doesn't work anymore :(

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

    how i can remove the slider for one use

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

    I sometimes confused how to translate your typescript into normal javascript 😔

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

    redash api's are working
    or updated correct me if wrong

  • @helloworld-ai
    @helloworld-ai 3 ปีที่แล้ว

    Hi man,
    import { onScrollEvent, useValue } from "react-native-redash";
    const x = useValue(0);
    const onScroll = onScrollEvent({ x });
    const backgroundColor = interpolateColor(x, {
    inputRange: [0, width, width * 2, width * 3],
    outputRange: ["#BFEAF5", "#BEECCA", "#FFE4DG", "FFDDDD"]
    });
    Module '"react-native-redash"' has no exported member 'onScrollEvent'.
    react-native-reanimated.d.ts(476, 7): An argument for 'outputRange' was not provided.
    I am facing issue above Please help

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

    can you share your git repository?