Let’s Build & Publish our own
React Component Library 🤩📚⚛
Soham S. Shah
10/07/2021
React.js Bangalore Meetup #14
@reactify_in
What are we gonna talk about today? 🤔
About me 👨💻
And I go by one simple principle:
“If you can’t meme it, then you don’t understand it right” ~ Anonymous
Github: @sohamsshah
Twitter: @sohamsshah_
Before moving ahead 🚶♂️...
Presenting What-Why-How Principle to 🚀 the learning curve 📈!
WHAT ignites🔥 curiosity,
WHY brings purpose & firmness to pursue consistent learning 🤓
HOW is the essentially the process of exploration & engineering 🔧 a product, skill or basically anything that you are WHAT-ing and WHY-ing about!
So, Let’s Get Started 🎈
Excited?
Design Systems: THE WHAT
A design system is a collection of reusable components, guided by clear standards, that can be assembled together to build any number of applications.
Some Popular Design Systems:
Design Systems consist of:
Design Systems: THE WHY
Design Systems: THE HOW
But what about...
Introducing StoryBook 📗: THE WHAT and THE WHY
Storybook is used by:
And many others!
StoryBook : THE HOW
StoryBook Essential Pointers
Rollup.js : THE WHAT
Rollup.js : THE WHY
“Browsers don’t understand”.
We got Supplies 🔫: THE HOW
Rollup.js has got awesome plugins for probably everything that we want!
Some Open Source Component Libraries
Some Tips 📝from some of the -
OG Open-Sourcers and Product Devs 🤩
“If you are building a component library, make sure you add all the must-have components to it before even thinking to add some out-of-the-box features. Also, to get good contributions to your project, the ultimate hack is by making product that people love to use. If they use it, then they are more likely to contribute! And keep trying different stuff, and even fail. You never know when will one of your side-hustle might shine up!”
~ Kushagra Gor, Creator of CSSBattle & HintCSS (8.1K ⭐)
“Even before you start coding, think about the scope of your library; what it will include and what not. Make Abstractions but not even too much that user loses control over the library. Consider Bundle Size, Upgradability, best practices etc. Listen to product feedbacks, but also try not to please everybody; keep vision of the product in mind. And yes, being a lot on twitter is definitely a good idea 😉!”
~ Jonny Burger, Creator of remotion.dev (7.8K ⭐)
“Document and keep the README up to date that clearly mentions the intent of the project. Not just that, also mention what it does not, so limiting the scope. Be clear with instructions for starters and most importantly, be kind and transparent.”
~ Schalk Neethling, Core Maintainer of MozDevNet (Official MDN Docs)
“Every OSS Project solves a problem that reappears in different projects. I treat it like a Startup🔥. I try to look at a problem that is Generic Enough so that it can impact wider spectrum of developers. Public work, showcasing on different platforms helps a lot to show the credibility and also makes you responsible and serious about your project. Building a discord community, being active on Twitter helps a lot! And yes, don’t hesitate of ask for help to the people of the community!”
~Sanket Sahu, Co-founder, Geeky-Ants & Creator of NativeBase (15.4K ⭐)
”Don’t think what a community can do for you, Think what you can do for the community.”
~Tanay Pratap, Senior Software Engineer, Microsoft &
Creator of India’s biggest Programming Community
So what’s stopping you from building your first 10K+ starer library?
Special Thanks 🤩
@neogcamp and @tanaypratap for the amazing mentorship and community 💖 and helping me learn fascinating stuff about full stack web and eventually making me fall in love with it 💻
THANK YOU!