Proyectos
Ver en GitHub
ipenywis/react-solid
Acerca de
Principios S.O.L.I.D. de React para escribir código limpio
Desarrollo web y de aplicacionesCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -2
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalReact S.O.L.I.D Principles for writing clean-code

- SRP: Single Responsibility Principle
- OCP: Open-Closed Principle
- LSP: Liskov Substitution Principle
- ISP: Interface Segregation Principle
- DIP: Dependency Inversion Principle
All the principles are explained on CoderOne's youtube channel: https://youtu.be/MSq_DCRxOxw
Code
This Repo has examples for all principles implemented in React. Go inside src/principle there will be all principles there with isolated demos.
You can run the dev server using:
yarn install
yarn dev
Change the component in App.tsx with the corresponding Principle's component name to see the demo.
Example
function App() {
return (
<div className="flex min-w-full h-full justify-center items-center p-8">
{/* <SRP /> */}
{/* <OCP /> */}
{/* <LSP /> */}
<DIP />
</div>
);
}
Explorar proyectos relacionados
Cargando…