Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This.

The problem isn't reading 1000+ dependencies, the problem is the 1000+ dependencies... There's no way, setting up a view renderer, in the context of a webpage, requires a 1000+ dependencies. I honestly did this exact thing with `create-react-app` and it's one of the reasons why I don't use/choose react. Too much bloat for no batteries included.



this doesn't make any sense. cra is webpack, but in a way that doesn't blow up every week. you can use react without bundlers, but what is the point. you'll be sitting there, without a dev env, no hot reload, no module resolution, minification, types, jsx, babel, ... any single one of these will get you 1000+ packages on the dev side. none of this is going into the published build of course.


You're right there's no way. CRA isn't React. You can still use React by just adding react and react-dom to a page via two script tags.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: