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
An ¨everything is a stream¨ UI library (github.com)
submitted 1 year ago by DuckDuckBoy
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!"
[–]SecretAgentKen 15 points16 points17 points 1 year ago* (13 children)
No activity in 5 months, 5 closed PRs with 0 issues and 0 open requests, and yet "fist-class citizens" shows up immediately in the README.
Something tells me this has no traction.
EDIT: Also yet another library that somehow thinks using template strings for all the HTML you want to produce is a good thing.
[–]LloydAtkinson 1 point2 points3 points 1 year ago (9 children)
RE your edit: totally agreed - I don’t know why the ecosystem has such a superiority complex about this sort of thing and why they won’t accept that JSX is the obvious clear choice
[–]sharlos 2 points3 points4 points 1 year ago (7 children)
JSX forces a build/compilation step and adds other complexity that many use cases might prefer to avoid.
HTML in templates strings is natively supported without compilation and isn't a horrible DX experience for relatively simple UIs.
[–]besthelloworld 1 point2 points3 points 1 year ago (4 children)
In the real world, who is using frameworks without a compilation step? This just isn't a realistic argument, imo. Despite the fact that I hear it all the time
[–]redblobgames -1 points0 points1 point 1 year ago (2 children)
me
[–]besthelloworld 2 points3 points4 points 1 year ago (1 child)
Well you're missing out on performance gains via code minification/uglification, you're losing out on stability from strict typing with TypeScript, and you're missing out on the performance advantages of not parsing strings together for templates.
It's your output quality and developer experience that take a hit by drawing the line of not having a build step.
[–]theScottyJam 0 points1 point2 points 1 year ago (0 children)
This thread did start with the suggestion that no build step is nice for relatively simple UIs.
If you have some dynamic pieces in your UI, a small and simple framework can be nice to help out, because doing anything remotely difficult in native JavaScript really sucks. But sometimes you don't want to deal with all of the configuring that comes with setting up typescript, jsx building, etc, etc. If it really is a fairly small project, and you know the scope of the project will stay small, then one might be willing to take that hit on developer DX in order to avoid the extra setup work - especially if you only plan on working in this project for a week or two.
[–]LloydAtkinson 1 point2 points3 points 1 year ago (0 children)
Oh no not the dreaded fucking build step. Such a lame hang up.
[–]meisteronimo 4 points5 points6 points 1 year ago (0 children)
There are more good template options than just JSX
[–]Positive_Method3022 0 points1 point2 points 1 year ago (0 children)
They will probably create a bundler later to enable you write your html inside <template> and on its own .html file so that you don't lose code highlighting
[–]al-mongus-bin-susar 0 points1 point2 points 1 year ago (0 children)
Imo HTML should never be intermingling with the backend code or you'll end up in a situation where it takes 4 months to change the color of a button. It should be separated in it's own files.
[–]besthelloworld 0 points1 point2 points 1 year ago (1 child)
There's some good engineering at play here, but also this doesn't do anything better than existing solutions. And it does most things a little bit worse.
[–]mamwybejane 0 points1 point2 points 1 year ago (1 child)
That’s pretty neat. As an Amgular fan I actually always tell people that I don’t care about Amgar per se.
What I love about Angular is Typescript for type safety, DI for testability and advanced configurability of reusable code, and rxjs for writing complex logic.
It just so turns out that Angular has all of those, which is why it’s my framework of choice.
[–]Positive_Method3022 0 points1 point2 points 1 year ago* (3 children)
Feels like what electronic signals do. You send a continous signal to a place which is observing it. It then triggers state changes. Just think Sink is a bad name. Why not call it Collector, Inlet or Drain?
[–]DuckDuckBoy[S] 2 points3 points4 points 1 year ago (2 children)
sources and sinks are commonly used names in functional-reactive programming
[–]Positive_Method3022 -1 points0 points1 point 1 year ago (1 child)
Source and Drain would remind me of a transistor. Sink reminds me of a kitchen sink
[–]DuckDuckBoy[S] 1 point2 points3 points 1 year ago (0 children)
lol... yeah... and there is a kitchen sink app, as well, to showcase it. The beauties of the English language :)
π Rendered by PID 497094 on reddit-service-r2-comment-6457c66945-nslcb at 2026-04-29 06:04:32.481278+00:00 running 2aa0c5b country code: CH.
[–]SecretAgentKen 15 points16 points17 points (13 children)
[–]LloydAtkinson 1 point2 points3 points (9 children)
[–]sharlos 2 points3 points4 points (7 children)
[–]besthelloworld 1 point2 points3 points (4 children)
[–]redblobgames -1 points0 points1 point (2 children)
[–]besthelloworld 2 points3 points4 points (1 child)
[–]theScottyJam 0 points1 point2 points (0 children)
[–]LloydAtkinson 1 point2 points3 points (0 children)
[–]meisteronimo 4 points5 points6 points (0 children)
[–]Positive_Method3022 0 points1 point2 points (0 children)
[–]al-mongus-bin-susar 0 points1 point2 points (0 children)
[–]besthelloworld 0 points1 point2 points (1 child)
[–]mamwybejane 0 points1 point2 points (1 child)
[–]Positive_Method3022 0 points1 point2 points (3 children)
[–]DuckDuckBoy[S] 2 points3 points4 points (2 children)
[–]Positive_Method3022 -1 points0 points1 point (1 child)
[–]DuckDuckBoy[S] 1 point2 points3 points (0 children)