create-react-app should be illegal
9 comments | Expand all CWs
@darius oh man. I have seen this used for single page apps, but in the sense that the "app" literally is a *single page of content*, with a somewhat fancy scroll effect. That's it. Somebody needs to explain to a lot of "web developers" what "single-page app" is supposed to mean. 🤦♀️ @rysiek one of the primary problems here is that the default thing that it renders is.... a single page showing an image. Like, render some nontrivial content in your default app if the whole point is to scaffold nontrivial sites!
[DATA EXPUNGED]
@darius I was given a react app to maintain at work. First thing I did was a full rewrite in standard Javascript. Went from a bloated, slow, ~500MB package on a nodeJS server to 3000 lines of standard Javascript that gets the job done in a fraction of the time and can run locally with no server required (although it is now served as static content by nodejs after getting evicted from Sharepoint). And I added a bunch of features in the process... @darius I always always bounce off frameworks that have a turnkey "we'll generate the whole app structure" bootstrap command like this -- it's obviously unavoidable the farther you get into rails-land, but a huge part of why I loved learning and still love working with flask is because it *doesn't* assume that's the easiest place to start |
@darius I'd take it a step further. no .js files.