Skip to content
This repository was archived by the owner on Feb 7, 2022. It is now read-only.

Are these these patterns mostly for library use #1

Closed
Gregjarvez opened this issue Apr 3, 2018 · 1 comment
Closed

Are these these patterns mostly for library use #1

Gregjarvez opened this issue Apr 3, 2018 · 1 comment

Comments

@Gregjarvez
Copy link
Contributor

Hello Kent. I have studied and love these react patterns however I barely find a use case for most of them them in my daily work with react but recognise them used all over the place in react libraries.
Is there something i need to know to use these more.

Thanks :)

@kentcdodds
Copy link
Owner

I definitely use these patterns in my non-library code all the time. If it's useful for a library component then it's probably useful in a regular application component as well. Code reuse is only one reason to use some of these patterns (though it's probably the biggest). I like to use these patterns to help separate concerns of my components.

Good luck!

veekas pushed a commit to veekas/advanced-react-patterns-v2 that referenced this issue Aug 10, 2018
Trugamr added a commit to Trugamr/advanced-react-patterns-v2 that referenced this issue Oct 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants