00:00 - Introduction 00:39 - Using state when you don’t need it 02:57 - Not using the function version of useState 06:44 - State does not update immediately 08:25 - Unnecessary useEffects 12:40 - Referential equality mistakes 16:55 - Not aborting fetch requests
Writing clean code is tough, and is one of the largest differences between junior and senior developers. One way that you can quickly improve your code and start writing well designed code now is to implement the open/closed principle. This principle is part of the SOLID design principles and is, in my opinion, the most complex rule of SOLID. This is because the definition is difficult to understand, but once you wrap your head around the idea it is very easy to implement.
The main idea of the open/closed principle is that every class/function/module/section of your code should be open for extension and closed for modification. This means that a class/function/module should be able to be extended in functionality without having to go into the class and change it. Essentially you shouldn't need to change existing code to add new functionality and instead should only have to add new code.
Most likely you have written tons of code in violation of this principle, I know I have, but hopefully this video will help introduce you to why this principle is so good at making your code clean and maintainable.
? Concepts Covered:
- What the open/closed principle is
- Why the open/closed principle is important
- How to use the open/closed principle
- How to spot violations of the open/closed principle
? Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
#SOLID #WDS #OpenClosedPriniciple
...
https://www.youtube.com/watch?v=-ptMtJAdj40
Choosing a project to build is hard. It is hard to know if the project is too easy or too hard before you start building it and if you choose incorrectly it can waste a bunch of your time or in the worst case discourage you from learning web development. In this video I am going to break down the different steps you should take before choosing a project in order to ensure you choose the perfect project for your next project.
? Materials/References:
5 Project Ideas: https://youtu.be/oluY633rkgI
5 More Project Ideas: https://youtu.be/D1J0v82Dgnk
? Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00 - Introduction
01:08 - Learn The Basics
02:03 - Beginner Project Advice
04:40 - Intermediate Project Advice
09:33 - Advanced Project Advice
#WebDevelopment #WDS #WebDevProjects
...
https://www.youtube.com/watch?v=v2SQvn6PrLg
? IMPORTANT:
Get Started With HarperDB Now: https://studio.harperdb.io/sign-up/?code=WEBDEVSIMPLIFIED
Just like the video title says I decided to force myself to use a bunch of non-monospace fonts for coding. As you can guess it was incredibly painful and my eyes are still trying to recover from this madness. It was a bunch of fun, though, seeing if I could code without monospaced fonts.
? Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
#WebDevelopment #WDS #ComicSans
...
https://www.youtube.com/watch?v=KJGD4RdwKWU
JavaScript Simplified Course: https://javascriptsimplified.com
YouTube has one of the best video players out there and in this video I will show you how to clone the entire video player. This includes everything from simple stuff like full screen and theater mode to complex features like picture in picture and timeline scrubbing.
? Materials/References:
GitHub Code: https://github.com/WebDevSimplified/youtube-video-player-clone
JavaScript Simplified Course: https://javascriptsimplified.com
? Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00:00 - Introduction
00:00:30 - Setup/Demo
00:03:09 - Video player HTML/CSS
00:06:29 - Play/pause HTML/CSS
00:14:31 - Play/pause JavaScript
00:20:20 - Video controls HTML/CSS
00:22:04 - Fullscreen, theater, and mini player HTML/CSS
00:26:42 - Fullscreen, theater, and mini player JavaScript
00:36:13 - Volume controls HTML/CSS
00:41:59 - Volume controls JavaScript
00:46:04 - Duration HTML/CSS
00:47:14 - Duration JavaScript
00:52:50 - Closed captions HTML/CSS
00:54:37 - Closed captions JavaScript
00:56:45 - Playback speed HTML/CSS
00:58:10 - Playback speed JavaScript
01:01:14 - Timeline HTML/CSS
01:11:04 - Timeline JavaScript
#VideoPlayer #WDS #JavaScript
...
https://www.youtube.com/watch?v=ZeNyjnneq_w
Writing clean code is tough, and is one of the largest differences between junior and senior developers. One way that you can quickly improve your code and start writing well designed code now is to implement the Liskov substitution principle. This principle is part of the SOLID design principles and is, in my opinion, the most important rule of SOLID for object oriented programming.
The main idea of the Liskov substitution principle is that any function/module that interacts with a class should also be able to interact with all subclasses of that class without breaking. This essentially means that a class is interchangeable with its subclasses.
Most likely you have written tons of code in violation of this principle, I know I have, but hopefully this video will help introduce you to why this principle is so good at making your code clean and maintainable.
? Concepts Covered:
- What the Liskov substitution principle is
- Why the Liskov substitution principle is important
- How to use the Liskov substitution principle
- How to spot violations of the Liskov substitution principle
? Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
#SOLID #WDS #LiskovSubstituionPriniciple
...
https://www.youtube.com/watch?v=dJQMqNOC4Pc
Linked lists are one of the most popular data structures interviewers ask about in technical interviews. You will probably never have to implement one in a real day to day job, but knowing how to write a linked list and understanding how they work is crucial to passing a technical interview.
On top of covering linked lists in this video, I will also be covering how you can use test driven development to make writing code easier. We will be designing the entirety of the linked list with test driven development to show you how to write better tests.
? Materials/References:
GitHub Code: https://github.com/WebDevSimplified/Linked-List
Jest Tutorial: https://youtu.be/FgnxcUQ5vho
? Concepts Covered:
- How to do test driven development
- What a linked list is
- How to create a linked list
- How to write proper tests
? Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
#LinkedList #WDS #JavaScript
...
https://www.youtube.com/watch?v=gJjPWA8wpQg
JavaScript Simplified Course: https://javascriptsimplified.com
You have probably heard that writing comments is useless or even bad. I have even made videos on this exact topic, but that isn't the entire truth. There are actually a few specific ways that you can use comments that not only make your code better but also allow you to write programs much quicker.
? Materials/References:
JavaScript Simplified Course: https://javascriptsimplified.com
Code Faster With Comments Article: https://blog.webdevsimplified.com/2021-08/how-to-learn-to-code-with-comments
? Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00 - Introduction
00:30 - List overall steps
03:00 - List out logical steps
#Comments #WDS #CodeComments
...
https://www.youtube.com/watch?v=Qvmp4F-hOKA