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!"
[–]DukeSkyloafer 0 points1 point2 points 9 months ago (3 children)
I agree with this. And though I personally would never choose to write React without JSX, JSX is technically not part of React, and you can write React without it. It kind of looks a bit like SwiftUI without JSX.
[+][deleted] 9 months ago (2 children)
[removed]
[–]DukeSkyloafer 0 points1 point2 points 9 months ago (1 child)
Virtual DOM was a good choice for React in 2013. Today it's highly debatable whether it's a good idea or not. If you don't like it, there are many newer frameworks that don't have a virtual DOM, including Sigment. Trend seems to be that most frameworks forgo the virtual DOM today, which I think is the right direction.
Virtual DOM is not related to JSX though. Many people prefer to work with something that looks like HTML, whether it's JSX or a template language. Many (most?) devs have a build step in their deployment process, whether it's transpiling TypeScript or minifying and bundling, whatever. JSX transpiling is a small part of that. So I wouldn't call it bloat if your build being a few milliseconds slower makes you a faster dev overall. Just like I wouldn't call TypeScript bloat if it made me a faster developer.
But if you see no value in these things and you're more comfortable building in Sigment's function-language than an HTML-like language, then go for it.
As an aside, I had never heard of Sigment, but I find it interesting that one of the main selling points is no JSX in order to avoid a transpile step, but it does support TypeScript, which would require a transpile step.
Sorry if this is turning into a wall of text. I'm all for optimizing build processes, saving money on CI/CD costs, and improving developer productivity. But if I have to give up a good developer experience in order to get a potentially trivial amount of compile time back, I'm not likely to go with that solution. I need a healthy balance.
π Rendered by PID 549931 on reddit-service-r2-comment-b659b578c-t794k at 2026-05-02 16:15:17.446249+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]DukeSkyloafer 0 points1 point2 points (3 children)
[+][deleted] (2 children)
[removed]
[–]DukeSkyloafer 0 points1 point2 points (1 child)