Distributing your code

Contributing to the React ecosystem does not only mean pushing code into the React repository. To give back to the community and help developers, you can create packages, blog posts, answer questions on Stack Overflow, and many other activities.

Suppose for example you created a React component that solves a complex problem and you think that other developers would benefit from using it instead of investing time in building their solutions. The best thing to do is to publish it to GitHub and make it available for everyone to read and use. However, pushing the code to GitHub is only a small action within a big process and it comes with some responsibilities. So you should have a clear idea in mind about the reasons behind ...

Get React Design Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.