Full React Tutorial #28 - Submit Events

Full React Tutorial #28 - Submit Events

Net Ninja

3 года назад

172,940 Просмотров

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


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

@rafiashan8389
@rafiashan8389 - 06.08.2024 12:05

Amazing sirrrr

Ответить
@Anon19933
@Anon19933 - 08.05.2024 17:20

Thank you very much, Shaun. Great Work!!

Ответить
@son7459
@son7459 - 29.04.2024 14:48

May I ask, why is "clicking the button" automatically understood as the action "submitting the form" ? I mean, you don't put type="submit" inside the button, it's literally just a button with no function. I wonder if onSubmit auto assigns the button as the submit handler? If anyone can help, thank you!

Ответить
@andromilk2634
@andromilk2634 - 03.03.2024 23:29

But even if we didn't use the preventDefault, wouldn't our event function still be fired and do its actions? Is there a reason we want to prevent the refresh of the page after we submit our form?

Ответить
@kalltreaionc
@kalltreaionc - 05.01.2024 03:38

Thank you --- your courses are top notch. Natural born teacher... we appreciate you sir.

Ответить
@jagaroTV
@jagaroTV - 30.12.2023 08:13

Im getting these errors..

Ответить
@BizzaroBrainBoi
@BizzaroBrainBoi - 02.10.2023 10:58

damn this guy is good, thank you net ninja!

Ответить
@lorenzolonghi8697
@lorenzolonghi8697 - 05.09.2023 16:46

Your tutorials are really so clear, useful, straight to the point and not long. The value you bring with your video is just incredibile. Thank you so much for everything you do

Ответить
@user-wq3vr3yy9k
@user-wq3vr3yy9k - 06.05.2023 03:04

Incredibly useful! Thanks!

Ответить
@alexberdea
@alexberdea - 22.02.2023 04:09

Consolelogtheblog!! clb , baby

Ответить
@dailybread8990
@dailybread8990 - 16.12.2022 23:16

Your tutorials are so so good. Iean they are the best. Simple, easy and straight to the point. I would really love a web3 tutorial with solidity, ethers, react and hardhat 🙏

Ответить
@vp--
@vp-- - 25.09.2022 00:35

Thank you

Ответить
@tarekghosn3648
@tarekghosn3648 - 09.08.2022 01:30

e.preventDefault() never new why i used it.

Ответить
@tabmax22
@tabmax22 - 20.06.2022 16:04

So is the action attribute not general practice for submitting forms in React?

Ответить
@victorcardenas724
@victorcardenas724 - 14.03.2022 08:22

<3

Ответить
@akhrorbekabdukhamitov8872
@akhrorbekabdukhamitov8872 - 21.02.2022 16:35

love the series. let me know if you guys have a question so far. I will try to help with debugging

Ответить
@bradconklin3415
@bradconklin3415 - 12.01.2022 05:54

How does it know that the button should trigger a "submit event"? Couldn't the button have some other function?

Ответить
@perschonca
@perschonca - 09.01.2022 01:45

I don't know how or when it happened but at some point my application in create.js tried to import e from 'express' which was giving me a bunch of errors. I was losing my mind as my code was identical to the github and then i realized this import was sitting at the top. Removed it and we are back at it lol. Wow that was frustrating LMAO. to clarify i have been following this tutorial to a T and think bill gates had something to do with it. In fact, im positive billy is the culprit, a truly sick person trying to derail a new dev. NOT TODAY BILLY, NOT TODAY.

Ответить
@Ari-pb4uo
@Ari-pb4uo - 30.12.2021 10:34

WOWW. You're videos have big a game changer. You explain everything perfectly. MY FAVEEEE . I am soo happy to have discovered your channel!

Ответить
@iotrnd2384
@iotrnd2384 - 13.12.2021 04:07

its really good stuff

Ответить
@alfonsoramirezelorriaga1153
@alfonsoramirezelorriaga1153 - 19.10.2021 19:18

Thank you. May God bless you

Ответить
@johncmm9759
@johncmm9759 - 12.10.2021 20:52

Insanely high value videos. Thank you so much!

Ответить
@woofcode3383
@woofcode3383 - 27.09.2021 07:33

thanks so much

Ответить
@lofi_Insomnia_
@lofi_Insomnia_ - 18.09.2021 09:35

ty

Ответить
@GustavoHenrique-dm7lh
@GustavoHenrique-dm7lh - 17.09.2021 05:07

amazed with this videos :)

Ответить
@javim7189
@javim7189 - 12.08.2021 03:14

thank you very much this video was very helpful

Ответить
@hasanalkhder6260
@hasanalkhder6260 - 02.07.2021 10:13

After the great course i think it will be good to start work on some projects , so we will wait for the video's dear
Thanks

Ответить
@Dev_who_decodes
@Dev_who_decodes - 09.06.2021 20:48

how is it the blog object contains the information from form???

Ответить
@yema8319
@yema8319 - 24.05.2021 10:37

Eyyyyy I made it here!

Ответить
@aybak3k
@aybak3k - 21.05.2021 18:31

got a question idk if it's dumb or ! but
how is it being submitted without having the btn have a type submit attr?????

Ответить
@Ridhu
@Ridhu - 19.04.2021 17:17

Any novice teacher would have combined this video and the next video as a single video. This is where you make a difference by abstracting submit event and post request

Ответить
@Mahmudulhasan-ts5hm
@Mahmudulhasan-ts5hm - 08.03.2021 08:03

thanks brow

Ответить
@maskman4821
@maskman4821 - 22.01.2021 15:09

~Notes~
Handle form submission in reactjs
1. assign a handler to submit event in form element
2. within submit handler we prevent page refresh
3. implement post request with fetch api to send post data to designated api
thats all !!!

Ответить
@TheRahulDBZ
@TheRahulDBZ - 20.01.2021 20:28

I am watching these videos like a TV series with each new episode coming everyday. Thanks

Ответить
@ridl27
@ridl27 - 20.01.2021 13:47

ty

Ответить
@unknownman1
@unknownman1 - 20.01.2021 13:44

Thanks.

Ответить
@saidbekuz
@saidbekuz - 20.01.2021 12:20

Heyyy Bro, How are you i am copying your videos in my mother language , i s that ok?

Ответить