Skip to content

Commit

Permalink
chore: add article link in props drilling (supports #188)
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Pena committed Aug 28, 2024
1 parent d043840 commit 6c7b362
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/rules/rrd/props-drilling.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Check if props are being forwarded unmodified to child components.

Props drilling refers to the practice of passing props from a parent component to a child component without the child component using them directly. Instead, the child component merely forwards these props to its own children, which can lead to unnecessary complexity and decreased maintainability.

👉 Checkout this article [Effective State Management](https://michaelnthiessen.com/effective-state-management) by [Michael Thiessen](https://michaelnthiessen.com/)

## ❓ Why it's good to follow this rule?

- **Clarity:** Forwarding props unmodified can obscure the data flow within your components. By ensuring that props are only passed when necessary, your code becomes clearer and easier to understand.
Expand Down

0 comments on commit 6c7b362

Please sign in to comment.