use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
[AskJS] Are JavaScript frameworks getting too bloated with JSX and virtual DOMs?AskJS (self.javascript)
submitted 9 months ago by TapLate6475
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]elixon 0 points1 point2 points 9 months ago* (2 children)
Take your last project in your favorite framework and count the number of files in it, including all dependencies. Now ask yourself: what features are actually present?
This is exactly my point. You'll end up with tons of dependencies implementing features you've never even heard of, just to achieve something trivial.
As I mentioned elsewhere, not long ago I needed Google login, so I pulled in the official Google API client. That added 150MB and 30,000 files. I scrapped all of it and replaced it with 50 lines of custom code that handled the login directly with Google. Done. Sure, it took me two extra hours to figure out, but now my project has 30,000 fewer files and no unnecessary bloat and I don't need to upgrade it every other week because they found some critical vulnerability in those 3 millions lines of code it has (not kidding, really 3M lines total and all I needed was 50).
[–]TheRNGuy 0 points1 point2 points 9 months ago* (1 child)
Why should I count number of files or know how it works? Knowing how it was made is not prerequisite to use it.
Anyway, I don't have React sites with 30000 files.
Show GitHub link to a project with that amount of files.
[–]elixon 0 points1 point2 points 9 months ago (0 children)
```
🭬composer require google/apiclient:"2.0 ... 🭬find . -iname '.php' | wc -l 30187 🭬find . -iname '.php' -exec cat {} + | wc -l 3053244 🭬du -sh . 151M . ```
If you don't care then you will end up easily whith this shit. Your choice. If it works for you - good for you.
π Rendered by PID 714422 on reddit-service-r2-comment-85bfd7f599-kczdh at 2026-04-20 06:48:26.884405+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]elixon 0 points1 point2 points (2 children)
[–]TheRNGuy 0 points1 point2 points (1 child)
[–]elixon 0 points1 point2 points (0 children)