Live data from Hacker News

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

github.com

1–10 of 48 posts

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

#4
post #2

Just a small utility for people who are tired of remembering what babel presets or Webpack loaders they need to build a relatively up to date React project.

The diagram here shows a real talent for explaining complex processes in a way that even a two year old could understand.

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

#6
post #5
post #3

was that...like...a hundred megs for a web page?

177 modules for a Hello World page? Is this satire?

Sigh, that's an absurd way to measure. A "Hello world" is just that: a demo. No-one is:

1) actually making Hello, World pages that will go anywhere near a user

2) Using React in Hello, World pages (which they don't make)

3) Using Reactpack to build the React-based Hello World pages they aren't making

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

#7
post #2

Just a small utility for people who are tired of remembering what babel presets or Webpack loaders they need to build a relatively up to date React project.

The diagram here shows a real talent for explaining complex processes in a way that even a two year old could understand.

Thank you :) I made it in gnome-paint, the shrubbery symbolizes okayish development practices.

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

#8
post #6
post #5

Earlier quoted context omitted.

177 modules for a Hello World page? Is this satire?

Sigh, that's an absurd way to measure. A "Hello world" is just that: a demo. No-one is: 1) actually making Hello, World pages that will go anywhere near a user 2) Using React in Hello, World pages (which they don't make) 3) Using Reactpack to build the React-based Hello World pages they aren't making

It's not absurd because:

1) Whatever you're making, you're starting out with 177 modules minimum if you use React + Reactpack.

2) See 1.

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

#9
post #5
post #3

was that...like...a hundred megs for a web page?

177 modules for a Hello World page? Is this satire?

It's just an example to show what type of code `reactpack` builds, ES6 and JSX with style loading in this case. If you want a more minimal React-like build you can switch out React with lightweight alternatives like Preact or React-lite.

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

#10
post #8
post #6

Earlier quoted context omitted.

Sigh, that's an absurd way to measure. A "Hello world" is just that: a demo. No-one is: 1) actually making Hello, World pages that will go anywhere near a user 2) Using React in Hello, World pages (which they don't make) 3) Using Reactpack to build the React-based Hello World pages they aren't making

It's not absurd because: 1) Whatever you're making, you're starting out with 177 modules minimum if you use React + Reactpack. 2) See 1.

But if you're using React you are creating a not-insignificant webapp and the initial install time of 177 modules is totally irrelevant beyond that first install. It doesn't have any reflection on the size of the client JS file (webpack loaders, for example, only live on the dev machine).

Moreover, you can presumably globally install this, so it can cover every React-based project you need to build.

What is an acceptable number of modules?

Post reply on HN