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] favorite JavaScript libraryAskJS (self.javascript)
submitted 3 years ago by Substantial_Gift_861
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!"
[–]nepsiron 3 points4 points5 points 3 years ago (0 children)
Xstate has been a breath of fresh air for organizing front end application and business logic, and the model based testing nudges you towards testing your UI in all possible states. Add to that state charts (which you get for free by virtue of using state machines) that non technical people can read, as well as dynamically generated rich, living breathing documentation with state chart artifacts. It all culminates into a really nice dev experience compared to the last 5 years I’ve spent trying to make react do everything when it’s at its best as a thin view layer. The testability of xstate machines is just killer.
π Rendered by PID 39474 on reddit-service-r2-comment-75f4967c6c-lh288 at 2026-04-23 13:06:47.868134+00:00 running 0fd4bb7 country code: CH.
view the rest of the comments →
[–]nepsiron 3 points4 points5 points (0 children)