diff --git a/Components-and-Hooks/HOC-Props-and-Custom-Hooks.md b/Components-and-Hooks/HOC-Props-and-Custom-Hooks.md index dc12c7a..01a82b7 100644 --- a/Components-and-Hooks/HOC-Props-and-Custom-Hooks.md +++ b/Components-and-Hooks/HOC-Props-and-Custom-Hooks.md @@ -1160,6 +1160,14 @@ The issue of **naming collisions** that we can run into by using the HOC pattern Since **we can’t add lifecycle methods to a render prop**, we can only use it on **components that don't need to alter the data they receive**. +# TLDR Summary table + +| Pattern | Pros | Cons | Use Cases +| -- | -- | -- | -- | +| **Higher Order Component** | | | | +| **Hooks** | | | | +| **Render Props Pattern** | | | | + ### [🙏 If you find it helpful, please give a STAR (click here) ️⭐️ ⭐️](https://github.com/anisurrahman072/React-Native-Advanced-Guide) Thank you for reading this article. I enjoy sharing my **5 years** of experience in **React-native**, **JavaScript**, **React** & **Node.js** with you every day. If you enjoyed reading this article, I would appreciate it if you could follow me on [**Twitter**](https://twitter.com/anis_RNCore) & [**Medium**](https://medium.com/@anisurrahmanbup).