Sharing Components Across Websites
One of the benefits of multiple teams using Gatsby within your organization is the ability to share React components across different websites.
There are several strategies here.
Component libraries are a cleaner and purer approach, but often requiring additional tooling or causing some changes to require pull requests to multiple.
To avoid copy-pasting and reuse components instead you can use component-sharing tools such as Bit to reuse and sync components between websites.
In this section:
Note: do you have additional ideas on sharing components across websites? We welcome contributions to the Gatsby docs. Find out how to contribute.See the issue relating to this stub on GitHub
Edit this page on GitHub