Re:Learn React by building a web app
by matte_black on Tuesday April 10, 2018 @02:51PM
(#16803996)
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.
[ Parent
| on HN ]
Re:Learn React by building a web app
by DimitriMikadze on Tuesday April 10, 2018 @03:07PM
(#16804162)
Hey! I have edited create-react-app to build React libraries with it, it has exactly same features as CRA.
Re:Learn React by building a web app
by matte_black on Tuesday April 10, 2018 @03:58PM
(#16804716)
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
Re:Learn React by building a web app
by matte_black on Tuesday April 10, 2018 @03:05PM
(#16804136)
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