正在加载视频...
视频加载失败
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?
10 条评论

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

may I introduce you to Vue 3 👀

job safety framework

supply chain attack lesgooooo

wooooooo

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

good ol'

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.

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

Install via cdn directly on the html like I do
