Why is distributing a react component so hard?
over 8 years ago from Jack Callister, Developer
Things were so swell. I built a react.js component, I was so chuffed. I even put a gif on the read me. I wanted to share my work for others to use (including myself). A simple request right? I remember the days when I could make a jQuery plugin, and use it in my project by adding a script tag. It was easy.
We seem to have believe now that those methods are a childish way to build a project. You should use a JS tooling system in order to concat, minify, transpile, compile and require. Oh and configure. Configure, configure, configure.
I've spent more time working with these tool chain than working on my component. It shouldn't be like that.
Why is it harder now to share code than when jQuery plugins were popular? Shouldn't it be easier now than ever?
I don't have answers - I'm simply good at complaining! But I can clearly see that without a simple and easy way to share and use code we are being inefficient. I'm a programmer. I don't like being inefficient.
So please, I beg of you, don't make me spend hours lurking on irc channels, nagging for answers or rummaging through github projects in order for me to share my work! Instead enlighten me with an answer to this small question - how can I distribute my component?
Login to Comment
You'll need to log in before you can leave a comment.Login
New accounts can leave comments immediately, and gain full permissions after one week.Register now