正在加载视频...

视频加载失败

Ok, listen, I just wanted to make a Simple Hello World in React. Why tf this create-react-app thing installed 1459 packages? React devs are you ok there?

1,332,566 次观看 • 2 年前 •via X (Twitter)

10 条评论

Тsфdiиg 的头像
Тsфdiиg2 年前

So many dependencies, yet not a single polyfill for Object.hasOwn smh my h

:icarus.gk ⇏ ▿ 的头像
:icarus.gk ⇏ ▿2 年前

may I introduce you to Vue 3 👀

terminally onλine εngineer ~ new era incoming 的头像
terminally onλine εngineer ~ new era incoming2 年前

job safety framework

gigafelon 的头像
gigafelon2 年前

supply chain attack lesgooooo

Тsфdiиg 的头像
Тsфdiиg2 年前

wooooooo

Julio Jimenez 的头像
Julio Jimenez2 年前

Just use @htmx_org or... echo "hello world" > index.html 👆zero dependencies

Yuri Silva 的头像
Yuri Silva2 年前

good ol'

Josh Manders 的头像
Josh Manders2 年前

I've been shitting on React for a while now too (as a former diehard React dev) but in React's defense, CRA isn't really great and not even the core team suggests using it anymore, and you can do hello world without it and only the dependencies of React/React-dom.

Aiden 的头像
Aiden2 年前

To give it a little credit, this package is being phased out in favour of things like template, a non zero number of these are from webpack but to be clear it still sucks when you run any of the more "modern" ones too, it's still terrible

Chris 的头像
Chris2 年前

Install via cdn directly on the html like I do

相关视频