Email or username:

Password:

Forgot your password?
Darius Kazemi

create-react-app should be illegal

9 comments | Expand all CWs
Skinny Feels

@darius I'd take it a step further. no .js files.

Darius Kazemi

@SkinnyFeels ah, I see, everything in a <script> tag

Skinny Feels

@darius e v e r y t h i n g

Rysiekúr Memesson

@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.

🤦‍♀️

Darius Kazemi

@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]
SlightlyCyberpunk

@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...

doctor garbage expert

@darius don't mind me instantly faving this on every platform

Alex Garnett

@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

Go Up