Тёмный
Copy Paste
Copy Paste
Copy Paste
Подписаться
Passing on what I learn!
useEffect hook renders twice | Solved
1:30
2 месяца назад
Understanding useEffect hook | React Hooks
4:13
5 месяцев назад
Understanding UseRef | UseRef Vs UseState
3:26
6 месяцев назад
Try this UseState trick | minimal effort
7:23
6 месяцев назад
Комментарии
@conquerwithtitan
@conquerwithtitan 8 дней назад
i have used data.map how to use tableref
@CopyPaste0123
@CopyPaste0123 8 дней назад
declare the the in <table tag> and define the function as described in the video
@huylynhat7389
@huylynhat7389 15 дней назад
i'm having this error when i hosting a LLM AI, my computer can use it, but my friend with the same wifi cannot :((, can you tell me how to fix this
@CopyPaste0123
@CopyPaste0123 15 дней назад
Hi, actually you guys can see frontend on a same wifi but not backend Deploy the backend somewhere online (render, vercel,aws or ngrok) then try to access
@WebDevJapan
@WebDevJapan 24 дня назад
Expo Go is just for quickly testing your app. To do an actual development build is more complicated.
@CopyPaste0123
@CopyPaste0123 24 дня назад
Hey, yeah you may be right at some point. I will cover the CLI method too and create a full fledge project!
@thewaycoveredbylights
@thewaycoveredbylights 27 дней назад
I created an app but I didn't get a file named "app.js" what did I possibly do wrong ?
@CopyPaste0123
@CopyPaste0123 27 дней назад
Hey! Make sure you have set up react native environment correctly assuming this is your first react native app
@CopyPaste0123
@CopyPaste0123 27 дней назад
also, first try to create the app using npx create-expo-app MyNewApp --template blank this will create necessary files if you are missing
@thewaycoveredbylights
@thewaycoveredbylights 27 дней назад
@@CopyPaste0123 I tried it, and it worked. Thank you so much. I was reading the documentations but now I don't have to do that. Thanks again.
@CopyPaste0123
@CopyPaste0123 27 дней назад
I am glad it worked!
@thewaycoveredbylights
@thewaycoveredbylights 27 дней назад
@@CopyPaste0123 I also subscribed and liked the video.
@abbderahmen9981
@abbderahmen9981 Месяц назад
hello im having this error when i hosted my website even tho i changed the localhost with the render url that they gave me but its not working its keeps telling me about localhost while im having another url could u tell me how i can fix this issue, thanks.
@CopyPaste0123
@CopyPaste0123 Месяц назад
Did you deploy both frontend and backend?
@mbogitechconpts
@mbogitechconpts Месяц назад
Very easy. Thanks. Do share code?
@CopyPaste0123
@CopyPaste0123 Месяц назад
Haven't pushed to gh yet if I do you will be the first to know.
@CopyPaste0123
@CopyPaste0123 Месяц назад
Meanwhile sample code: import React from 'react'; import ReactWordcloud from 'react-wordcloud'; const words = [ { text: 'told', value: 64, }, { text: 'mistake', value: 11, }, { text: 'thought', value: 16, }, { text: 'bad', value: 17, }, ] function SimpleWordcloud() { return <ReactWordcloud words={words} /> }
@miracerdin174
@miracerdin174 Месяц назад
thank u so much. It solve my all day problem
@bahataansumali209
@bahataansumali209 Месяц назад
Thanks a lot. It saved me a lot of time!
@CopyPaste0123
@CopyPaste0123 Месяц назад
Glad it helped!
@aruthshakariyawasam-op3vf
@aruthshakariyawasam-op3vf 2 месяца назад
still did not worked. plz help
@CopyPaste0123
@CopyPaste0123 2 месяца назад
There are two key solutions to this The first one is described in the video The second one is to downgrade your node version to 16
@aruthshakariyawasam-op3vf
@aruthshakariyawasam-op3vf 2 месяца назад
@@CopyPaste0123 thanx. 👍
@ChrisAmpeh
@ChrisAmpeh 2 месяца назад
you deserve more views bro . thank you
@CopyPaste0123
@CopyPaste0123 2 месяца назад
Thanks bro!
@pereiraarjun2880
@pereiraarjun2880 2 месяца назад
thank u brother
@Imran.khan___291
@Imran.khan___291 2 месяца назад
async function upload(ev) { ev.preventDefault(); const files = ev.target.files; const res = await axios ({ method:"postForm", baseURL:"localhost:3000/api", url:"/upload", data:files }) } can you help me in correcting it
@phirotaorhip97
@phirotaorhip97 2 месяца назад
Thank you Brother, it work like magic in my react app using pycharm.👍👍
@CopyPaste0123
@CopyPaste0123 2 месяца назад
nothing makes me more happier than this!
@LearnWithoutSchool
@LearnWithoutSchool 3 месяца назад
I'm getting the problem of axiosError and Internal Server Error. "AxiosError {message: 'Request failed with status code 500', name: 'AxiosError', code: 'ERR_BAD_RESPONSE', config: {…}, request: XMLHttpRequest, …}" code: const newMessages = [...messages, userMessage]; const response = await axios.post("/api/conversation", { messages: newMessages }); I'm actuallty made a GPT Conversation Model. Yesterday it was working great but don't know what happened it is not giving answers to prompt and in console this error is showing!! Please HELP!!!
@CopyPaste0123
@CopyPaste0123 3 месяца назад
Hey,can you test it first on postman ? Share what you got
@LearnWithoutSchool
@LearnWithoutSchool 3 месяца назад
​@@CopyPaste0123 Actually that error is now solved. It was OpenAI API Limit Problem. btw, It was great video learned about handling these kinda errors. It is helpful for future. Thankyou😊🇮🇳
@CopyPaste0123
@CopyPaste0123 3 месяца назад
​@@LearnWithoutSchool glad you liked it.
@frs_23
@frs_23 Месяц назад
​@@LearnWithoutSchool I am encountering the same error. Can you please help me?
@CopyPaste0123
@CopyPaste0123 Месяц назад
@@frs_23 Hi, let me know what you are exactly facing
@chillax5041
@chillax5041 3 месяца назад
hi, can I have your discord id by any chance to ask questions?
@CopyPaste0123
@CopyPaste0123 3 месяца назад
Hey! You can ask anything here without hesitation. I will try to explain and if necessary ,create a video demonstration .If I plan to create a space like discord I will let you know, thanks!
@CopyPaste0123
@CopyPaste0123 24 дня назад
Update : you can ask questions on pastecopy960@gmail.com
@abidhossain2069
@abidhossain2069 5 месяцев назад
const onFinishHandler = async (values) => { try { const res = await axios.post('/api/v1/user/register',values); if (res.data.success) { message.success('Register success!') navigate('/login'); } else { message.error(res.data.message); } } catch (error) { console.log(error); message.error('Something went wrong') } }; still getting this error any solution ?
@CopyPaste0123
@CopyPaste0123 4 месяца назад
Instead of just adding axios.post('/api/v1/user/register',values); try this: await axios({ method:"post", baseURL:"YOUR BASE URL like localhost:8000/api/v1", url:`/user/register`, data:values }) Replace the baseURL with your actual baseurl Let me know if you encounter further problems!
@darcyiix9296
@darcyiix9296 5 месяцев назад
Hello, it worked when I ran the server via VS Code but now the issue is, I get the same error when I run my app on the phone. Any fix would be appreciated, regards!
@CopyPaste0123
@CopyPaste0123 5 месяцев назад
It is not related to the error but the fact that you can only test your frontend on mobile devices when running on localhost. To test both server and client side on mobile you need to deploy (make it live). Just deploying the backend and using its link in frontend to access the server will also work. I hope you understand!
@harishgiri3483
@harishgiri3483 20 дней назад
Hello, can you tell me that why the react app shows this error in every second continuously when the server is running but the when other connection works well passing data to server and getting response works fine but this error is continuously occurring every second. Can you provide me it's solution?
@CopyPaste0123
@CopyPaste0123 20 дней назад
Can you explain more about the problem? What are you using in the backend? What port is your frontend running and what port is run by your backend? Are you sure about calling the correct port?