React Clean Code: Advanced Examples of SOLID Principles

  Рет қаралды 20,682

CoderOne

CoderOne

Күн бұрын

Advanced Examples of SOLID Principles Applied in React. This video is a continuation of the previous SOLID React principles video • This is the Only Right... . Which you should watch first before diving into more advanced examples of the different SOLID principles applied in real-world React components and use cases.
🎉Our Newsletter is live! Join thousands of other developers
islemmaboud.com/join-newsletter
⭐ Timestamps ⭐
00:00 Intro
01:45 SRP - Single Responsibility Principle
11:06 OCP - Open-Closed Principle
16:36 LSP - Liskov Substitution Principle
20:52 ISP - Interface Segregation Principle
23:51 DIP - Dependency Inversion Principle
-- Special Links
✨ Join Figma for Free and start designing now!
psxid.figma.com/69wr7zzb1mxm
👉 ✨ Join Figma For Professionals And Start Designing with your Team ✨
psxid.figma.com/ucwkx28d18fo-...
⚡️ S.O.L.I.D Principles implementation in React ✨
github.com/ipenywis/react-solid
📕S.O.L.I.D blogs get a better grasp on the principles
/ the-s-o-l-i-d-principl...
-- Special Links
✨ Join Figma for Free and start designing now!
psxid.figma.com/69wr7zzb1mxm
👉 ✨ Join Figma For Professionals And Start Designing with your Team ✨
psxid.figma.com/ucwkx28d18fo-...
-- Watch More Videos
🧭 Build Login/Register API Server w/ Authentication | JWT Express AUTH using Passport.JS and Sequelize
• Build Login/Register A...
🧭 Turn Design into React Code | From prototype to Full website in no time
• Turn Design into React...
🧭 Watch Tutorial on Designing the website on Figma
• I Design a onecolor We...
🧭 Watch Create a Modern React Login/Register Form with smooth Animations
• Create a Modern React ...
🧭 Debug React Apps Like a Pro | Master Debugging from Zero to Hero with Chrome DevTools
• Debug React Apps Like ...
🧭 Master React Like Pro w/ Redux, Typescript, and GraphQL | Beginner to Advanced in React
• Master React Like Pro ...
🧭 Learn Redux For Beginners | React Redux from Zero To Hero to build a real-world app
• Debug React Apps Like ...
🧭 Introduction to GraphQL with Apollo and React
• Introduction to GraphQ...
🐦 Follow me on Twitter: / ipenywis
💻 Github Profile: github.com/ipenywis
Made with 💗 by Coderone

Пікірлер: 28
@davidhavl
@davidhavl 5 ай бұрын
Finally! Thank you! It's amazing to see advanced concepts being taught the right way as well as having error handling included in your code! Most videos out there stay away from either of the subjects because it's hard (or they are not proficient in it), which gives junior devs a false image of how to develop real-life production-ready applications.
@aymenbachiri-yh2hd
@aymenbachiri-yh2hd 5 күн бұрын
i'am glad you give this valuable informations
@sanjeebgochhayat6911
@sanjeebgochhayat6911 5 ай бұрын
Thank you from the bottom of my heart for teaching us Advance concepts
@rishiraj2548
@rishiraj2548 5 ай бұрын
CoderOne is... 🙂👍💯
@cntitv988
@cntitv988 2 ай бұрын
Great video! I'd glad watching a video talking about TDD, SOLID and Clean Arch
@fuyu848
@fuyu848 5 ай бұрын
Love these long and well explained videos
@saidabedi2836
@saidabedi2836 5 ай бұрын
Great video! What is the extension that you have that hides the components props?
@ya4dang1
@ya4dang1 5 ай бұрын
Some useful VS Code extensions in this video : 1. indent-rainbow oderwat.indent-rainbow 2. Tailwind Fold stivo.tailwind-fold
@volodare
@volodare 5 ай бұрын
indent-rainbow oderwat.indent-rainbow is obsolete. You can enable coloring in vs code settings, Editor > Bracket Pair Colorization
@johntrevithick5900
@johntrevithick5900 Ай бұрын
Thanks, some very insightful examples here. That said... IMO, example of cleaning the validation code was confounded by the use of the external package. The main point to me was that the validation code could be extracted to a module-level function, instead of being in-line to the component. Likewise, use of a library to handle the form meant that the `InputField` component was tightly coupled to this library (via the `fieldRegister` property.)
@mr.komp1004
@mr.komp1004 5 ай бұрын
What is the plugin, that collapse tailwindcss classes?
@billyfigueroa1617
@billyfigueroa1617 3 ай бұрын
Curious if you prefer react hook form and zod over formik and yup for a reason or it’s just a combination you have been using and don’t need anything else?
@ductran1954
@ductran1954 5 ай бұрын
What ide are you using to code? it's so beautiful...
@congdatt
@congdatt Ай бұрын
nice bro ơi. Keep it up nghen !!!
@FL4M3M4K3R
@FL4M3M4K3R 5 ай бұрын
FYI, 4:10-4:40 same cut repeated. great video!
@SertuncSELEN
@SertuncSELEN 5 ай бұрын
thank you
@miloman1995s
@miloman1995s 4 ай бұрын
thank you... but what is the point of using CLASS in Dependency Inversion principle? i can handle it by usual arrow functions
@himanshukapoor5586
@himanshukapoor5586 3 ай бұрын
Love it!!
@pewds2935
@pewds2935 4 ай бұрын
can anyone please tell me how the SRP was being violated in the first example. I mean if we look from a feature perspective that single component was binding the login stuff and only login stuff. i mean where is the borderline. how to distinguish ?
@dinub8414
@dinub8414 4 ай бұрын
You're thinking is right mate. Few mature tech leads would have you perform the extraction into sub components in a case like this, I think. But for a form of 20 inputs, it would make sense. Not because of srp though. Just readability. IMO anyway
@oladayoagbolade3676
@oladayoagbolade3676 4 ай бұрын
In SRP, it’s advisable to separate the logic from the UI. That’s why the first example was BAD
@gururajmoger8649
@gururajmoger8649 5 ай бұрын
Please explain the solid principle with Angular 17 🎉❤
@danielbarbu1513
@danielbarbu1513 4 ай бұрын
@oladayoagbolade3676 not quite. This separation is an opinionated practice, wrongly packaged as SRP-related. In SRP the responsibilities are defined in terms of the app functionality, not in terms of the programming mechanics. This is a common misunderstanding in web development.
@user-th7vx2gk3x
@user-th7vx2gk3x 22 күн бұрын
semantic violation useContext should use the result of createContext which in turn will be called contextDropdown he cannot use the provider))))
@mrlectus
@mrlectus 2 ай бұрын
Shit, so am doing solid all this while 😅 I guess my OCD has some advantages
@liftingisfun2350
@liftingisfun2350 5 ай бұрын
Why use tsx with barely any use of typescript?
@romansernato6526
@romansernato6526 5 ай бұрын
Oh boy, if && () BAD pattern, again ...
@martapfahl940
@martapfahl940 4 ай бұрын
I really like your videos on clean code and this one is very useful as well. For the React Days where I was participating I would have hoped for some kind of different content, you just recycled your youtube content unfortunately. React Days Ticket costs a lot of money.
This is the Only Right Way to Write React clean-code - SOLID
18:23
Айттыңба - істе ! | Synyptas 3 | 7 серия
21:55
kak budto
Рет қаралды 1,6 МЛН
ISSEI funny story😂😂😂Strange World | Pink with inoCat
00:36
ISSEI / いっせい
Рет қаралды 24 МЛН
The React Interview Questions You need to Know
21:29
CoderOne
Рет қаралды 16 М.
SOLID Design Principles Made Easy
4:36
Carrio Code
Рет қаралды 3,4 М.
Stop Doing These Next.js Mistakes
14:18
CoderOne
Рет қаралды 8 М.
SOLID Design Principles in #Angular (Advanced, 2021)
41:49
Decoded Frontend
Рет қаралды 136 М.
You Need React Query Now More Than Ever
11:04
Theo - t3․gg
Рет қаралды 135 М.
SOLID Principles: Do You Really Understand Them?
7:04
Alex Hyett
Рет қаралды 108 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 302 М.
Stop Doing this as a React Developer
12:27
CoderOne
Рет қаралды 158 М.
How I Write Clean Code in React
16:36
Cosden Solutions
Рет қаралды 19 М.