An unknown land of creating libraries
My day job is to design and architect projects at my workplace and soon I realized that there were many common modules required across projects and I always end up copy-pasting those modules to newer as well as existing projects over and over again.
This was tearing me down. Setting up the tools for a library seems to be such a basic task that you may be surprised that it has numerous nuances. In fact, even the authors of well-known libraries often don’t do this right, and there is no single exhaustive go-to source.
In this talk, I’ll get practical and demonstrate a dummy project to discuss the best library building practices.
Takeaway for the audience:
1. What are the different types of module systems.
2. What are different types of tool we can use (Webpack, Rollup, Babel) and How to configure these tools.
3. How to prevent the unused parts of the application from landing in clients’ applications by Tree Shaking.
4. When to use Babel.
5. When to use Bundlers.
6. How to manage the meta data for your libraries using the power of package.json.
7. What to publish to npm.
8. How to create an isomorphic library.
And when we sum up all the above points we will be able to build our own React UI Library the right way. :)