TIKTOK Clone React Native Tutorial 2021 👨‍💻 - React Native Video Feed with FlatList (#9)

  Рет қаралды 15,844

SimCoder

SimCoder

Күн бұрын

Пікірлер: 39
@SimpleCoder
@SimpleCoder 3 жыл бұрын
In this TikTok clone video, we'll be implementing a video feed system by making full use of the FlatList component and optimizing it in a way that we are able to fully control the video playback, making the feed smooth and free from crashes caused by poorly managed memory If you have any questions just let me know down below in the comment section 👇
@__Time__clock
@__Time__clock 3 жыл бұрын
This is great. I stopped watching clone tutorials because if I wanted the software to work I would need to deploy and maintain it. but this video is a good entertainment pass time.
@SimpleCoder
@SimpleCoder 3 жыл бұрын
Awesome Joel! Really glad you are enjoying it 😊
@justinJ689
@justinJ689 2 жыл бұрын
One simple tip, there is a hook tthat lets you find out the actual height of the bar without guessing or having a static value for one device. Its called "useBottomTabBarHeight". This is if you are using react navigation as your navigation library.
@jeankaelaugustin641
@jeankaelaugustin641 Жыл бұрын
But you need expo for that.. and expo doesn't recognize most dependencies.
@fnc.owenmelbz
@fnc.owenmelbz Жыл бұрын
@@jeankaelaugustin641 "most" is probably an exaggeration unless you need obscure packages
@emanuelmejia4525
@emanuelmejia4525 3 ай бұрын
@@jeankaelaugustin641 Expo is the way 👍
@riturajranjan2072
@riturajranjan2072 3 жыл бұрын
Awesome series
@SimpleCoder
@SimpleCoder 3 жыл бұрын
Thank you Rituraj :D
@zakirbangash3185
@zakirbangash3185 8 ай бұрын
Hello Brother I love your content and I'm reaching out because we've been working on an issue for the past three months. We're experiencing a noticeable delay of 1 or 2 seconds before videos start playing, which creates a different experience from the smooth playback offered by TikTok. We'd greatly appreciate any suggestions you might have on how to achieve a similar level of responsiveness when users swipe to the next video.
@rehan314
@rehan314 3 жыл бұрын
Hey, Please make a tutorial on java refresher! You make such awesome videos!
@yoel8538
@yoel8538 Жыл бұрын
great video!
@sinanayhan2330
@sinanayhan2330 2 жыл бұрын
Awesome!! Just awesome!!
@munirkhan8651
@munirkhan8651 2 жыл бұрын
hi! Good work sir, how to get the video reference from SinglePost. it still playing when I change the navigation.
@krultorwaru121
@krultorwaru121 3 ай бұрын
Actually why are you putting the forwardRef here in 26:26?
@vitbo7981
@vitbo7981 3 жыл бұрын
This is amazing, thank you so much for the detailed explanation. I just wanted to ask if you would consider implementing video search in the search box before entering the name of the person you are looking for. I think it wouldn't be a big deal to skip the complicated algorithms and just display the most popular videos in the let suppose for the last 12 hours. What do you think about that ?
@SimpleCoder
@SimpleCoder 3 жыл бұрын
Thanks Vit! I will look into it. The most liked videos of the day is something that would be easy enough to implement for this series. I will evaluate that for sure! Thank you for your suggestion 😊
@vitbo7981
@vitbo7981 3 жыл бұрын
@@SimpleCoder The pleasure is all mine 🎩Thank you for listening to me . ... I am honored 😊
@souvikbanerjee1565
@souvikbanerjee1565 3 жыл бұрын
Awesome
@GafrongLimited
@GafrongLimited 2 жыл бұрын
U r godsend!
@ardhendugatait4366
@ardhendugatait4366 Жыл бұрын
Is it possible by react-native-video? Not in expo project...if not please make a video for that
@henrik908
@henrik908 3 жыл бұрын
You are true legend 🙏 Doing great sir
@SimpleCoder
@SimpleCoder 3 жыл бұрын
Thank toy Navneet 😁
@henrik908
@henrik908 3 жыл бұрын
@@SimpleCoder you are my teacher i am 15 years old Learning a lot from you as i am from India that's a developing nation i want to become a developer
@henrik908
@henrik908 3 жыл бұрын
@@SimpleCoder sir i have a question how can we create algorithm like suggest videos to viewers according to their interest
@SimpleCoder
@SimpleCoder 3 жыл бұрын
Glad to hear it Navneet, it it a great opportunity and we are all rooting for you! If you have any question at all just let me know 😊 You can either implement ML to do that or you can go by simple metrics like the most liked videos of the day and/or categories the user wants to see. This last one is the easiest one to implement
@henrik908
@henrik908 3 жыл бұрын
@@SimpleCoder please teach us about ml is your upcoming tik tok series videos Thanks for your reply sir 😁
@ilyesbejia6566
@ilyesbejia6566 2 жыл бұрын
Hi Sim i'm currently following this part of your tuto to reproduce this video scroll i dinamycly recode what you do while watching your video and i'm currently facing a problem the flatlist doesn't take the whole screen i have try the trick of the backgroundColor to see if it take the whole screen or not and it don't . Here the code i've check it several time and seem identical to the one you display on the video import React from 'react'; import styles from './styles' import { Text, FlatList, View } from 'react-native' export default function FeedScreen () { const array =[1, 2, 3, 4, 5, 6] const renderItem = ({ item, index }) => { return ( {item} ) } return ( ) } styles.js const { StyleSheet } = require('react-native'); const styles = StyleSheet.create({ container: { } }) export default styles; I will appreciate if you could figure out what's wrong with my code I thank you in advance NB: my currrent version are "react": "^18.2.0" "react-native": "^0.69.4", "react-native-web": "^0.18.7",
@ilyesbejia6566
@ilyesbejia6566 2 жыл бұрын
i have finally figure it out you display it on a component wich as certainly a predefine size i display it directly as this element in my app.js file so i just had to had an height of "100vh" to the flatlist + i figure out an others problems then the element height in renderItem style view didnt react to changement so i had to set up a maxheight and a minheight to define an height .
@ilyesbejia6566
@ilyesbejia6566 2 жыл бұрын
Thats so fuck up i come back on my oproject and face the same problem i check the comment after a whilme and then find the solution i had post thanks me
@AllahomAnsorGaza
@AllahomAnsorGaza 2 жыл бұрын
flatlist is not good choice for production with many videos it will be unstable i switched to RecyclerListView but i have problem there is no onViewableItemsChanged :D do you have any idea about it please ?
@neel6617
@neel6617 2 жыл бұрын
Did you find a fix?
@nsyi
@nsyi 2 жыл бұрын
What should we use if want to achieve the same results without using expo?
@ricodane6847
@ricodane6847 2 жыл бұрын
Hello, do you have an answer for this?
@poobyy619
@poobyy619 3 жыл бұрын
Hi, I was trying to replicate this but having some issues. When I import dimensions and try to apply the height to it, it doesn't work . I have been troubleshooting this to no success. It saves that info to a variable and printed it out but the dimensions never gets applied to my screen. Any help would be appreciated
@testingchannel7312
@testingchannel7312 2 жыл бұрын
Hello , Can I install expo av into react native cli project.
@ricodane6847
@ricodane6847 2 жыл бұрын
Hello, do you have an answer for this?
@turji1845
@turji1845 Жыл бұрын
anyone having issues with the videos not stoping when not viewable ?
@yoel8538
@yoel8538 11 ай бұрын
yes i am!!!! did you ever figure this out?
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Want to make a video chat app? Watch this video for WebRTC!
1:22:35
Good Morning Developers
Рет қаралды 49 М.
SIX mind-blowing React Native optimization hacks
4:45
Jelvix | TECH IN 5 MINUTES
Рет қаралды 7 М.
Implementing FlatList in React Native
16:48
Hitesh Choudhary
Рет қаралды 15 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,3 МЛН
British Highschoolers react to Bri’ish Memes! (Part 2)
8:19
React Native scrollToIndex - Dynamic size item scroll inside FlatList
14:41
Best of CES 2025
14:50
The Verge
Рет қаралды 147 М.