How To Build CodePen With React

  Рет қаралды 161,414

Web Dev Simplified

Web Dev Simplified

Күн бұрын

Пікірлер: 341
@rishabsharma5307
@rishabsharma5307 4 жыл бұрын
I usually think that projects like this are hard to build but when I see videos like this where guys like you build them so quickly then it makes me feel that nothing is too hard. It just calm my nerves and gives me self confidence that I can too build complex application.
@samiyemane4305
@samiyemane4305 4 жыл бұрын
Not to burst your bubble but they usually have the project already made beforehand before they record themselves rebuild it while also referencing it from time to time. You too can build complex applications but they are complex of course and it may (will probably) take you more time to debug, look up things you might've forgotten and also get used to using the new libraries and such. Stay confident but also set realistic expectations on yourself or you might be discouraged when you fail to build a clone of a complex application in 30 minutes. All the best.
@hasaniqbal233
@hasaniqbal233 4 жыл бұрын
@@samiyemane4305 to add to this: the real codepen site is def not one that was coded in an hour or 2. With the amount of users they have, they probably have intricate software design systems and architecture set in place in the backend.
@AishwarysinghEC
@AishwarysinghEC 9 ай бұрын
same here bro@JitendraSingh-xc7yq
@rajeevsinxh
@rajeevsinxh 4 жыл бұрын
Next: How to build a React clone with React.
@maskman4821
@maskman4821 4 жыл бұрын
agree !
@aknas3613
@aknas3613 4 жыл бұрын
With Vue :)
@vilashyadav442
@vilashyadav442 4 жыл бұрын
React Docs are build with docusaurus
@aldipiero747
@aldipiero747 4 жыл бұрын
No bruh you're wrong, its like build a React clone with Vanilla Javascript :)
@rajeevsinxh
@rajeevsinxh 4 жыл бұрын
@@aldipiero747 it was a joke on how he always builds every clone in React. I personally love react and I like his videos 😁😋
@robertminardi4268
@robertminardi4268 2 жыл бұрын
This was my first React project ever and wow did I learn a lot! So glad I found this channel! If I lived by a mountain, I'd climb to the top and yell "Web Dev Simplified is the greatest!" "...greatest" "...greatest"
@couchman-sw6jy
@couchman-sw6jy 3 жыл бұрын
I finished the app, now I will add features like registering, logging in, shared editing, etc. THANK YOU :D
@anthonypetruzzi158
@anthonypetruzzi158 4 жыл бұрын
This dude should have a million subscribers by now. I am so glad I found this channel. He explains everything so well and with baby steps. You do great work Kyle, keep going dude!!!
@bibs24
@bibs24 2 жыл бұрын
he has reached 1m
@kirarevcrow
@kirarevcrow 4 жыл бұрын
Next: How to make Vuejs with Reactjs
@IshanKesharwani
@IshanKesharwani 4 жыл бұрын
Bro !!!!! 😜😜
@greg6094
@greg6094 4 жыл бұрын
Please do more clone videos! Some other youtubers tried it but their attempt is a frustrating joke. Your videos are always top quality. You deserve at least a million subs! Love your work!
@manojkr2362
@manojkr2362 Жыл бұрын
now he has millon sub bro
@AvikNayak_
@AvikNayak_ Жыл бұрын
which youtuber are you taking about?
@sheldonfourie5959
@sheldonfourie5959 4 жыл бұрын
Could you do a basic trello clone that you can actually edit the card and add attachments or dates and be dragged
@WebDevSimplified
@WebDevSimplified 4 жыл бұрын
Great idea!
@anthonypetruzzi158
@anthonypetruzzi158 4 жыл бұрын
One in react and one in Vue 😁 I'm a Vue guy myself
@narcissisticnarcissus4956
@narcissisticnarcissus4956 4 жыл бұрын
@@WebDevSimplified Please make this one. Those features are very useful in general and not a lot of tutorials cover them properly. Also a Trello close would be a great start for bigger projects.
@Italiafani
@Italiafani 4 жыл бұрын
@@WebDevSimplified I'd love to see this as well! Especially the drag 'n' drop feature from column to another, and *storing the order* of columns and the cards inside columns.
@azatecas
@azatecas 4 жыл бұрын
bro i was just thinking how online text editors worked and here you bless us with this video
@JamesQQuick
@JamesQQuick 4 жыл бұрын
Great stuff Kyle!!
@faridun316
@faridun316 4 жыл бұрын
That is awesome i cannot imagine that i can get this type of information for free!
@nabiisakhanov3522
@nabiisakhanov3522 4 жыл бұрын
You can get a lot more if you buy his course
@faridun316
@faridun316 4 жыл бұрын
@@nabiisakhanov3522 you are right! 👍
@ThatGuyAnonymous
@ThatGuyAnonymous 4 жыл бұрын
You're doing amazing work Kyle! thanks for all the amazing content you keep pushing
@unchart_d
@unchart_d 4 жыл бұрын
Kyle from the bottom of my heart please make medium clone with that text editor feature. Please am begging you. Thanks in advance.
@avrelian8785
@avrelian8785 3 жыл бұрын
If you aren't able to install react-codemirror2 using npm because you're using React 17, try "npm i react-codemirror2-react-17" instead
@anish2148
@anish2148 3 жыл бұрын
Thanks Man...I literally wasted 1 hour searching on Google..blessed to see ur comment...Tysm
@shreejitpal6598
@shreejitpal6598 2 жыл бұрын
need somthing for react-18 i tried react-codemirror2-react-18 but didn't work 😂
@tawassumparveen6880
@tawassumparveen6880 2 жыл бұрын
@@shreejitpal6598 yeah same problem
@AvikNayak_
@AvikNayak_ Жыл бұрын
@@shreejitpal6598 what did you do then? I am having this issue.
@manviaggarwal8646
@manviaggarwal8646 6 ай бұрын
Thank you so much, wasted almost an hour searching online
@muhammadhassan5884
@muhammadhassan5884 4 жыл бұрын
Local Storage Hook part is amazing. Thanks bro you brought really awesome tutorial.
@WebDevSimplified
@WebDevSimplified 4 жыл бұрын
Glad you liked it
@maninderkaur855
@maninderkaur855 3 жыл бұрын
That was one of the best tutorial i have ever seen...thank you for this series
@prestonjudearnold2814
@prestonjudearnold2814 3 жыл бұрын
same im just wating for my react app to make xD
@muldurksk
@muldurksk 4 жыл бұрын
This is awesome content, unique, on point and don't waste your time!
@RenatoAlmeida49
@RenatoAlmeida49 2 жыл бұрын
Mate, thanks a lot for this! I thought it was something really complex. But you make everything looks easy. And it's amazing to see how powerful simple things are. And how many problems we can solve making a good use of these tools.
@shivam2kumar988
@shivam2kumar988 4 жыл бұрын
Your recent videos have been 🔥 Awesome content, Keep it up!
@WebDevSimplified
@WebDevSimplified 4 жыл бұрын
Glad you like them!
@lookintomyeyes2681
@lookintomyeyes2681 4 жыл бұрын
that useEffect clearTimeout was smooth af
@NickHamilton88
@NickHamilton88 4 жыл бұрын
🤯🤯🤯 Codepen watching this video in disbelief of how small the source code is compared to how many lines it took them to create this functionality. 🤯🤯🤯🤯🤯
@10YardCricket
@10YardCricket 4 жыл бұрын
You are the most underrated talented developer.
@tsioryfitiavanaanhykrishna6992
@tsioryfitiavanaanhykrishna6992 4 жыл бұрын
Clear and concise as usual, great video! Keep up the good works!
@michaelschwartz4598
@michaelschwartz4598 5 ай бұрын
I'm the creator of kodeWeave. I can tell you there's more complexity involved with developing these type of editors. Such as preprocessors, integrating js modules, defining if initial js type should be a module or not, dom diffing, importing libraries from the cdn, if you want to add multiple custom files locally without a server you need to use service workers for that, I can go on. But initial setup concept is accurate. Typically for css you target the initial style id and replace the textcontent with the new styles so you don't have to refresh the entire (which can be integrated in a DOM diffing function but dom diffing isn't ideal when you're coding in js). Anyway that's all I have to say on this.
@JulienReszka
@JulienReszka 4 жыл бұрын
Love that you added the timestamps thanks man
@WebDevSimplified
@WebDevSimplified 4 жыл бұрын
Glad you like them! I am trying to add them to all my new videos.
@CodingFire
@CodingFire 3 жыл бұрын
I was waiting for this
@olfeix3580
@olfeix3580 4 жыл бұрын
Thanks bro. I was already working on this project. Now it will be much easier for me.
@varshagoyal9574
@varshagoyal9574 Жыл бұрын
if you are unable to install any library , the use command ` npm config set legacy-peer-deps true` . you can install library in react
@AvikNayak_
@AvikNayak_ Жыл бұрын
but after that its showing this -> Missing "./lib/codemirror.css" specifier in "codemirror" package
@nabiisakhanov3522
@nabiisakhanov3522 4 жыл бұрын
19:40 It felt like RxJS should be used for such things
@MaxProgramming
@MaxProgramming 4 жыл бұрын
You are a clone master nowadays!!!
@couchman-sw6jy
@couchman-sw6jy 3 жыл бұрын
I was having trouble using codemirror and react together, thank you!!
@arpitkumarmishra6220
@arpitkumarmishra6220 4 жыл бұрын
Building clone is new trend 😀
@فريقالأبطال-ت2ك
@فريقالأبطال-ت2ك 4 жыл бұрын
But it's great, to learn new things fast.
@shakir_2766
@shakir_2766 4 жыл бұрын
Yeah, but i love these trends instead of tiktok's shitty trenda 😂
@collegematerial5348
@collegematerial5348 Жыл бұрын
How to answer this question when interviewer ask that what is different in your code editior that is already available in market
@ridl27
@ridl27 4 жыл бұрын
ty. its really easy to follow and understand your tutorials :)
@CulturalToast
@CulturalToast 2 жыл бұрын
Alright now build codepen in your codepen clone
@realgabreal
@realgabreal 4 жыл бұрын
Next : How to build KZbin with React
@MaxProgramming
@MaxProgramming 4 жыл бұрын
lol 😂
@yt.mhasan
@yt.mhasan 4 жыл бұрын
@Clever Programmer already did it
@sukhvsin2
@sukhvsin2 4 жыл бұрын
@@yt.mhasan it's not production ready
@feng282
@feng282 4 жыл бұрын
@@sukhvsin2 Just out of curiosity, is it front-end completed at least? When you say production, you mean backend?
@DominioSantos
@DominioSantos 4 жыл бұрын
@@feng282 when we say "production ready" we mean "secure, stable, tested and documented". Most of those "*insert famous site* clone" are bare bones versions that would croak dead if used by thousands of simultaneous users, or wouldn't be secure enough for anyone to trust their data to them. These videos teach you to build toys, not real applications.
@Cheng32290
@Cheng32290 4 жыл бұрын
Damn! this is amazing! I didn't know it could be that easy. Thank you so much for the content!
@josephwong2832
@josephwong2832 3 жыл бұрын
That last part with localStorage was very useful
@Ahmedmohamed-hx3jw
@Ahmedmohamed-hx3jw 4 жыл бұрын
Next: How to build a javascript clone with React
@amiralmohyminrazin417
@amiralmohyminrazin417 4 жыл бұрын
🤯
@elendil4543
@elendil4543 4 жыл бұрын
Next video : How to clone the existence with React . . . You're Awesome Dude
@instructortom1359
@instructortom1359 3 жыл бұрын
I know this is old, but if anyone sees this, then it'd be a huge help: I'm missing the reasoning behind these lines in your useLocalStorage custom hook: if (typeof initialValue === 'function') { console.log("function") return initialValue() } else { console.log("not function") return initialValue } If I replace all of that with just "return initialValue" then the functionality is unhindered and I was careful about being sure to wipe localStorage each time I tested the change. I'm just not sure why we'd have to specify the difference between "function" type and string type, as nothing is to be displayed initially from our js editor. I'm sure I'm missing a key concept here, so I'd love to hear what I'm missing if possible!
@rangabharath4253
@rangabharath4253 4 жыл бұрын
Awesome as always 👍😀
@decryptroblox
@decryptroblox 4 жыл бұрын
Next: how to make vscode using electron.js and react
@kingdavid2446
@kingdavid2446 4 жыл бұрын
Heyyy Web Dev you are the programming goat :)!!!!!!
@edtechbymeera
@edtechbymeera 4 жыл бұрын
I love codepen too and love this tutorial as well.
@briandesign
@briandesign 4 жыл бұрын
next build codepen in codepen
@thexarviz
@thexarviz 8 ай бұрын
2024: This is giving me 2 separate boxes for each language in top pane. so total am facing 6 boxes. and for every language, the top input box is not working, even if i type in the top box, its displaying in the latter one. probably its an issue with react codemirror2 FIX: add this in your css file: .react-codemirror2 > .CodeMirror:first-child { display: none; }
@vinayakpatil5822
@vinayakpatil5822 6 ай бұрын
thank you
@bhavyanarle7740
@bhavyanarle7740 2 ай бұрын
I am facing the same issue. Can you please explain
@nish_1
@nish_1 2 ай бұрын
very big thanks bro literally wasted lots of time in doing chatgpts and all
@petrafranklin
@petrafranklin 4 жыл бұрын
As Always, AWESOME tutorial! Thank you!
@yashpreetbathla4653
@yashpreetbathla4653 4 жыл бұрын
Awesome content as usual 😍
@taruvarmittal1484
@taruvarmittal1484 3 жыл бұрын
Great video!! Loved it!
@shivangpurohit9132
@shivangpurohit9132 2 жыл бұрын
Try this .. If you are facing issue regarding codemirror-2 package :- npm install react-codemirror2 --legacy-peer-deps
@shivangpurohit9132
@shivangpurohit9132 2 жыл бұрын
@@shouvikchoudhury9691 use the exact version as shown in video
@imabhishek_kr
@imabhishek_kr 2 жыл бұрын
It's giving module not found error
@vaibhavjadhav3791
@vaibhavjadhav3791 Жыл бұрын
Thank you brother ♥️ ..
@suhakim5072
@suhakim5072 3 жыл бұрын
Thank you. This is one of my dream projects.🥰
@Lohitpant
@Lohitpant 3 жыл бұрын
I watched the video at 0.75x speed and was able to get everything. Thanks!
@shaderone07
@shaderone07 4 жыл бұрын
This is SO COOL ...luv u kYle.
@adisonmasih
@adisonmasih 4 жыл бұрын
Hi! I Like Your Simple Way Of Teaching!
@satyanarayangoswami823
@satyanarayangoswami823 Жыл бұрын
Had problems with codemirror package so opted for monaco editor instead now my whole page reloads when the srcDoc attribute of changes. Is there any fix EDIT : It seems that it only happens on the mozilla developer edition. This wasn't a problem with brave or chrome. Maybe it is because mozilla doesn't use the chromium engine.
@lookintomyeyes2681
@lookintomyeyes2681 4 жыл бұрын
forgot to say the useLocalStorage hook was also so pure and awzom to work with, thq
@mk9834
@mk9834 4 жыл бұрын
omg this is so interesting, learned alot! Thanks!
@iftekharalam7582
@iftekharalam7582 3 жыл бұрын
thanks, i learn a lot from this video
@randomguy2139
@randomguy2139 3 жыл бұрын
*React-codemirror2 is not for react versions above 16.x latest is 17.x any alternatives for react-codemirror2* Please answer this!
@123sid789
@123sid789 4 жыл бұрын
Hi, at around 12:25 how did the setHtml, setCssand and setJs are working inside onChange? You have not passed any value to these functions. What am I missing?
@Drendronix
@Drendronix 3 жыл бұрын
From MDN "Notes about sandboxing:When the embedded document has the same origin as the embedding page, it is strongly discouraged to use allow-scripts " What does it mean "the same origin"? And is it here that case?
@engine_man
@engine_man 4 жыл бұрын
Good stuff as always.
@_Wolf_-ib9zd
@_Wolf_-ib9zd 6 ай бұрын
is it possible to do something like this again but with monaco editor?
@leeyahav4754
@leeyahav4754 4 жыл бұрын
amazing tutorial thnx Kyle
@fantaday2700
@fantaday2700 2 жыл бұрын
Is there a way to prevent the from flashing white on update? :)
@craigbarnes9520
@craigbarnes9520 4 жыл бұрын
I love this tutorial, and all your tutorials. Thank you so much for you time and effort. This was my first React project. A little complex, but I am getting the hang of it. Is it possible, if not already explained else where, to save more than one project and then open them, or even just clear the save with one button?
@ajeeboamir
@ajeeboamir 4 жыл бұрын
Your content is 🔥 Amazing sir really amazing....
@sangitasarkar8096
@sangitasarkar8096 Жыл бұрын
Thank you posting such a woderful video. However, I am getting an error saying all the imported packages in Editor component are not expprted from codemirror. Is it possible to fix? I have installed codemirror as explained in the video
@DSCuber-28-01-2019
@DSCuber-28-01-2019 4 жыл бұрын
When I add the useLocalStorage hook in my App.js, it throws me a cross-origin error. If I use useState hook instead of the useLocalStorage, it works perfectly. I googled it, but couldn't find anything. I hope you can help me. By the way reallycool and informative video.
@hrushikeshdas4864
@hrushikeshdas4864 4 жыл бұрын
I just love this project 😍 awesome!! Please can you simply the React routing 🙏🙏😅
@prashoonbhattacharjee8211
@prashoonbhattacharjee8211 4 жыл бұрын
Amazing video👍!!
@behnamparsaeifard3883
@behnamparsaeifard3883 9 ай бұрын
great video! I'm wondering, how can we add a console to this app?
@imPriyankCoder
@imPriyankCoder 4 жыл бұрын
wow nice video. soany new concept to learm just out of curiosity could we open to new page if we want? having the design save?
@azatecas
@azatecas 4 жыл бұрын
hey kyle can you do a tutorial on how those stock sound/video site works
@kgaming7599
@kgaming7599 4 жыл бұрын
Can you teach us how to make a syntax highlighting editor? (No Libraries)
@oleksiibraila8737
@oleksiibraila8737 3 жыл бұрын
Great video! but I`d like to find out how to add the possibility to write on jsx/react? thank you in advance)
@renjithroy8422
@renjithroy8422 4 жыл бұрын
How long did it take you to reach this level?
@umangshahi3073
@umangshahi3073 4 жыл бұрын
@WebDevSimplified any idea how i could create an editor component using codemirror and add react interpreter in it?
@reinefang2201
@reinefang2201 4 жыл бұрын
Thank you so much for this video! Can we use this with Python editor instead? (And compile it the same way with flask?)
@animatedzombie64
@animatedzombie64 4 жыл бұрын
there you go, the clever programmer surely clone this!
@healthandfitness3273
@healthandfitness3273 4 жыл бұрын
i watched their all video they are just make the design not working one Thi guy is really good he explain eah and every thing in simple manners and fully function thing
@rickyzheng572
@rickyzheng572 4 жыл бұрын
Amazing content as usual. Could you explain docker or do something with service worker? Maybe some system design overview?
@MukundKumar-e7t
@MukundKumar-e7t 3 жыл бұрын
Why the anchor tag is not working. It is showing refused to connect.
@nagarajanraj370
@nagarajanraj370 3 жыл бұрын
Its awesome man!!!!
@olfeix3580
@olfeix3580 4 жыл бұрын
A tutorial on Node js compilex will be great.
@josephvasconcelos5943
@josephvasconcelos5943 3 жыл бұрын
is there any functionality with code-mirror that I can upload the code created in the text box to an api using requests
@bensundin
@bensundin 4 жыл бұрын
Is it possible to use anything like jQuery in this?
@digigoliath
@digigoliath 4 жыл бұрын
Awesome!! TQVM!
@pro_grammerpro_grammer1159
@pro_grammerpro_grammer1159 4 жыл бұрын
what is the difference between controlled and uncontrolled mode
@SmartStudy_48
@SmartStudy_48 8 ай бұрын
Which code app you are using?
@FriendsExplanation
@FriendsExplanation 2 жыл бұрын
Everything is Fab and Good . But whatever I'm writting in the editor is getting printed in reverse manner. Ex: Hello is getting printed as >1h/1h
@AkankshaSingh-uy4oe
@AkankshaSingh-uy4oe Жыл бұрын
same problem
@AkankshaSingh-uy4oe
@AkankshaSingh-uy4oe Жыл бұрын
have you found any solution?
@FriendsExplanation
@FriendsExplanation Жыл бұрын
@@AkankshaSingh-uy4oe No
@GyanSinghYadav-s1o
@GyanSinghYadav-s1o Жыл бұрын
@@AkankshaSingh-uy4oe did u got any solution
@AkankshaSingh-uy4oe
@AkankshaSingh-uy4oe Жыл бұрын
@@GyanSinghYadav-s1o no
@ParadoxWorks
@ParadoxWorks 4 жыл бұрын
Hello Kyle! I really appreaciate all the videos you make! I also have one question as I am really curious about this one: How does a "normal" app development go? Is it like in your tutorials where you immeadiatly know where goes where with no stopping, questioning or braining since maybe you pre-prepared your code to show us? Or in real life example of development one wouldn't be so "efortless" and wouldn't know exactly how his code should be all put together? I hope you understand my question and that you will respond to clarify this one for me. Thank you!
@WebDevSimplified
@WebDevSimplified 4 жыл бұрын
Real life projects take much more time and I constantly am making mistakes and moving things around. This project probably took me a few hours to build out the first time.
@ParadoxWorks
@ParadoxWorks 4 жыл бұрын
@@WebDevSimplified Thank you very much for your quick response!
@ArtVandelayInc
@ArtVandelayInc 4 жыл бұрын
Great video!
@priyanshusaraf9495
@priyanshusaraf9495 4 жыл бұрын
Next- Uber clone with react
@pranshukumar6707
@pranshukumar6707 11 ай бұрын
Bro can you please help…the cursor inside the html editor is not properly aligned in my case…so exact text removal is not happening…it removes two or three line below.
@Esizl
@Esizl 4 жыл бұрын
you should make a hastebin clone that would be really cool
@sujoyghosh7152
@sujoyghosh7152 3 жыл бұрын
thanks a lot for this project
@SameerKhan-fy8vp
@SameerKhan-fy8vp Ай бұрын
everything is good but when i type any code it doesn't print
@amanguptadev
@amanguptadev 3 жыл бұрын
hey this is wonderful tutorial. friend can you tell me if i want to create a python and java editor then i also have compile the code them can you tell me how can i do it
@bivakumari4685
@bivakumari4685 4 жыл бұрын
Amazing.....mind blowing....how do you actually get these ideas?
How To Build A Google Docs Clone With React, Socket.io, and MongoDB
46:52
Web Dev Simplified
Рет қаралды 203 М.
Build this JS calculator in 15 minutes! 🖩
15:20
Bro Code
Рет қаралды 714 М.
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
How To Build A Flashcard Quiz With React
51:05
Web Dev Simplified
Рет қаралды 101 М.
Best frontend and backend projects for resume
13:11
Hitesh Choudhary
Рет қаралды 240 М.
Learn React With This One Project
42:38
Web Dev Simplified
Рет қаралды 849 М.
Learn React Router v6 In 45 Minutes
46:20
Web Dev Simplified
Рет қаралды 576 М.
How to Code A Better To-Do List - Tutorial
39:16
Web Dev Simplified
Рет қаралды 158 М.
How To Build Feature Flags Like A Senior Dev In 20 Minutes
20:33
Web Dev Simplified
Рет қаралды 110 М.