From 6c7b3625bd64cb1bf0c416f091447e456e4e1470 Mon Sep 17 00:00:00 2001 From: David-Pena Date: Wed, 28 Aug 2024 08:43:29 -0700 Subject: [PATCH] chore: add article link in props drilling (supports #188) --- docs/rules/rrd/props-drilling.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/rules/rrd/props-drilling.md b/docs/rules/rrd/props-drilling.md index a2ad7c6f..099966c6 100644 --- a/docs/rules/rrd/props-drilling.md +++ b/docs/rules/rrd/props-drilling.md @@ -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.