Learn React In 30 Minutes

Learn React In 30 Minutes

Web Dev Simplified

4 года назад

1,359,966 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Ron B Palmer
Ron B Palmer - 07.09.2023 20:44

Excellent as usual. This provides a solution I was looking for. I've recreated my WordPress blog with 500 posts with Astro and I'm recreating the CMS infrastructure I need from scratch with mongodb. I need my partner to be able to add things to posts such as related links, on page toc, json-ld faq, etc. that I can modify and display with components.

This functionality seems to be a super simple way to allow entry of the elements using the form in a manner I can capture and load into the db. I've been needing to learn React. Now its an imperative.

Ответить
Jane fonda
Jane fonda - 23.08.2023 20:25

why do i get error e404 when i write npx creae-react-app.

Ответить
Ross Terry
Ross Terry - 20.08.2023 22:32

Sorry I had to go away from this tut because after removing the boilerplate around 5 mins in I couldnt get "hello world" to appear in the localhost:3000 page :S Shame!

Ответить
dev frontend
dev frontend - 16.08.2023 01:39

In 30 minutes you will learn how to write react. See ‘react’

Ответить
savvizz95
savvizz95 - 11.08.2023 12:48

when i run the npx command i receive 8 errors. I did everything as you show in your video...

Ответить
Vladimir Sherman
Vladimir Sherman - 09.08.2023 01:49

You made it more complicated than needed by using the same var names 10 different ways.

Ответить
Ing. Daniel Laryš
Ing. Daniel Laryš - 03.08.2023 16:55

For me there was a problem with uuid library. After pasting to the terminal "npm i uuid" i got error of 79 vulnerabilities (13 low, 20 moderate, 42 high, 4 critical). With info about maintain this issue by typing "npm audit fix --force" into the console. But it gets me only into the loop with localhost:3000 wont load properly. I found a solution. Type into the terminal: npm set audit false. It solve the issue about vulberabilities, but it gets bunch of errors when load the page. I found solution you need to import uuid as following: import { v4 as uuidv4 } from "uuid"; instead of import uuidv4 from "uuid/v4"

Ответить
Jay Bisht
Jay Bisht - 22.07.2023 19:25

It was fun

Ответить
Gladiator
Gladiator - 20.07.2023 16:24

i did the exact the same stepts and it couldnt load

Ответить
theguy
theguy - 20.07.2023 13:45

impressive is the wrong word for this. this was a total waste. can we stop with the “Learn ___ in [insert some ridiculous clickbait timeframe]” videos?

nobody is “learning react” based off of this video. the learning stopped after the install. after that it was just a rushed bunch of word vomit telling you exactly what to do. any first timers will leave this video MAYBE knowing how to recreate this very specific thing only, but most likely would need to play it simultaneously while they copy step by step.

terrible misleading garbage.

Ответить
Tyler King
Tyler King - 16.07.2023 04:41

anyone else having issues with the useEffect overwritting the array of todos with an empty one?

Ответить
Carol Bope
Carol Bope - 10.07.2023 18:08

HOLD UP VERSION 12

Ответить
fyxel
fyxel - 07.07.2023 13:48

You are a legend!

Ответить
Brian Heise
Brian Heise - 06.07.2023 16:31

He said doto once

Ответить
D4R1O
D4R1O - 06.07.2023 04:20

you and Andrew Mead are great teachers... pildoras informatica para los que solo hablan español

Ответить
Alyssa Rogers
Alyssa Rogers - 03.07.2023 23:05

As soon as I run the npx command I get errors: PS C:\Users\rogal\web-development> cd .\learn-react-in-x-minutes\
PS C:\Users\rogal\web-development\learn-react-in-x-minutes> npx create-react-app .
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users\rogal\AppData\Roaming\npm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\rogal\AppData\Roaming\npm'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\rogal\AppData\Local\npm-cache\_logs\2023-07-03T19_19_33_508Z-debug-0.log
PS C:\Users\rogal\web-development\learn-react-in-x-minutes> cd ../
PS C:\Users\rogal\web-development> cd ../
PS C:\Users\rogal> cd ../
PS C:\Users> cd .../
cd : Cannot find path 'C:\Users\...\' because it does not exist.
At line:1 char:1
+ cd .../
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\...\:String) [Set-Location], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand

Anyone know whats going on? Looked around online; some people said to delete node_modules folder and package-lock.json, but when I search for package-lock, there's like 15 different ones in different places on my computer.

Ответить
Elias Etzbacher
Elias Etzbacher - 03.07.2023 14:23

That was awesome! I wanted to learn React and that really helped me, thanks alot!

Ответить
ॐ ࿗ The Priest of Varanasi ࿗ ॐ
ॐ ࿗ The Priest of Varanasi ࿗ ॐ - 01.07.2023 19:34

You CANNOT learn react in 30 minutes unless you already have a basic hands on knowledge.

Ответить
poobplayer1
poobplayer1 - 27.06.2023 14:31

Todo todo={todo}

Ответить
Nathan de Castro
Nathan de Castro - 22.06.2023 15:25

React really is trying to decorate poo but you only have poo to decorate it with... (Great tutorial though thx)

Ответить
Bobba 038
Bobba 038 - 22.06.2023 12:41

he said cums

Ответить
Ching Chong
Ching Chong - 12.06.2023 19:05

a dog shit video of explaining how to use react, why would you even name it learn react in 30 minutes when your examples are shit and lack explanation also they are hella buggy leading to 'learn react in 30minutes' to a fucking 3 our debug session, waste of time

Ответить
Fernando Ortega
Fernando Ortega - 12.06.2023 08:46

Great tutorial!
But why is it necessary to make a copy of the todos list instead of just modifying the state on it directly?

Ответить
Yogi Ghorecha
Yogi Ghorecha - 09.06.2023 13:56

You are SO FAST...

Ответить
IM Tanuki
IM Tanuki - 09.06.2023 06:04

a conceptual overview of react would have been helpful here....

Ответить
Julien Jean-Baptiste
Julien Jean-Baptiste - 07.06.2023 21:32

Awesome video so my question is when it comes to creating project like this one do you just know from the start how to do all those things or does it required try and error and optimizations because from the look of it just just know how to do it without really think about it

Ответить
Shai B
Shai B - 07.06.2023 17:59

i got it all working perfectly but the saving the data in storage
it just wont save it

Ответить
Corzo 11
Corzo 11 - 02.06.2023 13:09

Very difficult to follow, jumping around in files simply saying "now over here" - need to be glued to the video and constantly rewind to get something out this.

Ответить
Ash P
Ash P - 29.05.2023 07:11

Damn.no-nonsense,quick and on point

Ответить
John Gou Tung
John Gou Tung - 25.05.2023 22:53

thank you

Ответить
ANURAG KUMAR
ANURAG KUMAR - 25.05.2023 11:05

todo.......todo...todo.............todo.....todo

Ответить
matin marzban
matin marzban - 21.05.2023 01:36

if only someone makes a videos of him only saying TODO

Ответить
np
np - 16.05.2023 21:59

A little quick for me as I'm new but still helpful!! Although... the todos got confusing towards the end lol. Also I had to modify the uuid import.

Ответить
Silvers
Silvers - 15.05.2023 04:38

What extension are you using to have HTML snippets in the app.js file? I had to type in button and input instead of getting the snippet. Cant find a extension that works either

Ответить
Code4lyfe
Code4lyfe - 13.05.2023 07:27

i had lots of issues with this tutorial what was supposed to take me 30 minutes to execute, took me 24 hours to make! Beware before thinking it is just a simple code, there are issues with the code in which im shocked at how this guy was able to run without any issues like i did

Ответить
Jef 2906
Jef 2906 - 12.05.2023 18:07

for people watching it now. Import import { v4 as uuid } from "uuid"; and use ` return [...prevTodos, { id: uuid(), name: name, complete: false }];`
if you have any issues

Ответить
El Rigo Resendez
El Rigo Resendez - 11.05.2023 22:52

So in minute 22 i wasn't able to recover correctly the todos after refreshing . Doing some debuggin seems that the setItem was running 2 times. This was because the if statement that check for storedTodos will always resolved to true even if the array was empty, efectivly clearing the array. I had to check that the length of storedTodos was greater than 0 inf the if evalutaroand then it would work correctly.

Ответить
robbie heller
robbie heller - 11.05.2023 02:29

What font are you using in VSCode

Ответить
Okkert Joubert
Okkert Joubert - 09.05.2023 21:41

Hi Kyle, thank you for a great video

I have one question if you move the TodoList component in Apps.js down so that it is below the count of todo's in the list, the list starts to multiply itself at one point I had a 114 todos in my list all of then the same and then you have to remove them one by one...
Why is that happening?

Ответить
Ashish Kumar
Ashish Kumar - 30.04.2023 22:04

very well explained

Ответить
Dan
Dan - 29.04.2023 21:29

Very good video. I have some experience with angular for front end stuff, and always thought React looked kind of daunting. I find the simplification of the concepts in this video very helpful.

Ответить
Cuz On Games
Cuz On Games - 20.04.2023 19:30

the boy you still got it

Ответить
Bisiriyu Afeez
Bisiriyu Afeez - 20.04.2023 02:38

The way you call todo is making everything complicated 😢

Ответить
Tony G
Tony G - 19.04.2023 03:17

I feel like you were more focused on making this video short than actually explaining things. I just felt like I was copying code for the most part and all the todos with the same name became confusing eventually

Ответить
Doktor Nouveau
Doktor Nouveau - 14.04.2023 03:42

Great video. I now thoroughly understand why I have no desire to learn React because this shit looks over-complicated for no damn reason.

Ответить
Afif Khaja
Afif Khaja - 12.04.2023 17:15

Thanks for this! Couldn’t really follow it but I will watch on repeat

Ответить
Prior Listing
Prior Listing - 11.04.2023 18:08

Is there possibly a new version of this available, or an alternative you might recommend since we're about 3.5 years after this recording?

This has been the best help so far in my preliminary search to learn ReactJS having never used it (primarily C# background is what I have). Some of the versioning is different, though - and producing different output (or no output when I apply your edits about 5 min. in).

Ответить
Tyler O'Neill
Tyler O'Neill - 10.04.2023 23:20

could you explain what 'todo' does...

Ответить