Hacker News new | ask | show | jobs
by matte_black 2997 days ago
The number one thing I’d like to strengthen is the process of building a react component for publishing on NPM. It’s way different from building something with create-react-app. I need a solution that has zero config, has HMR, the latest JavaScript and automatic deployment for demos on github pages. I have so many components I could publish, but just can’t be bothered to figure this out.
4 comments

Hey! I have edited create-react-app to build React libraries with it, it has exactly same features as CRA.

https://github.com/DimiMikadze/create-react-library

Looks good, though I would like a better support for github pages out of the box.
I've been using nwb for that https://github.com/insin/nwb
Awesome, I might really enjoy this.
Extracted boilerplate from some of my libs:

https://github.com/alexkrolick/react-lib-quickstart

Want to port this to a CLI eventually, too

You can build a complex application with zero configuration if you follow this tutorial: http://yoember.com