Live data from Hacker News

Show HN: Reactpack – one command to build your React front end

github.com

21–30 of 48 posts

Re: Show HN: Reactpack – one command to build your React front end

#21
post #19

I wish we had something like this officially backed by the react team. In 30 minutes when a new standard approach comes out, this tool will become obsolete.

+1

would love more "explicit (in code) best practices" if possible even a "recommended default approach"

i understand that a full "framework" is not the way to for the community. but a few default standards would be good as guidance for newcomers and to manage expectations of coders coming into existing projects

Re: Show HN: Reactpack – one command to build your React front end

#22
When I try to install it npm just hangs

command:

    npm i --save-dev reactpack
node version:

    v0.12.6
npm version

    2.11.2
uname -a

    Linux gentoo-1 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz GenuineIntel GNU/Linux

Re: Show HN: Reactpack – one command to build your React front end

#24
Nice work! I've been looking for something like this.

I hope to see more tools in this vein emerge from the JavaScript ecosystem - tools that aren't afraid to make some well-reasoned assumptions for the sake of a more minimal interface. (It seems like every tool nowadays wants you to put another dotfile or garbage.json at the root of your project.)

Re: Show HN: Reactpack – one command to build your React front end

#26
post #22

When I try to install it npm just hangs command: npm i --save-dev reactpack node version: v0.12.6 npm version 2.11.2 uname -a Linux gentoo-1 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz GenuineIntel GNU/Linux

Those versions of npm and node are quite old - I imagine the minimum requirements might be higher, though the project should have those outlined.

Re: Show HN: Reactpack – one command to build your React front end

#27
post #22

When I try to install it npm just hangs command: npm i --save-dev reactpack node version: v0.12.6 npm version 2.11.2 uname -a Linux gentoo-1 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz GenuineIntel GNU/Linux

It could just be spinning - Babel 6 presets install _lots_ of duplicated dependencies with npm2.

I need to move a similar project from Babel 5 to Babel 6 soon and tried manually deduplicating Babel 6 preset dependencies for better npm2 support [1] - doing so reduced the size of node_modules/ from ~120MB to ~6MB!

https://github.com/insin/deduped-babel-presets#babel-6-prese...

Re: Show HN: Reactpack – one command to build your React front end

#28
post #19

I wish we had something like this officially backed by the react team. In 30 minutes when a new standard approach comes out, this tool will become obsolete.

To be fair, this is just packaging up a fairly standard webpack config with a nice CLI: https://github.com/olahol/reactpack/blob/master/config.js

So, it can be extended or changed as the whims of the JS community migrate between tools and practices.

Post reply on HN