Peer Deps

Just using my blog to share a little tip for future me that current me keeps forgetting. Over the years when working with clients I’ve created reusable React components, and it’s pretty important to me to ensure that dependencies like React aren’t dependencies of my own work – specifically to prevent React (for instance) being included multiple times in my projects.
So…

Link: http://feedproxy.google.com/~r/remysharp/~3/fNaOGxwh1AM/peer-deps