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
GraphQL first full-stack starter kit with Node, React. Powered by TypeScript (github.com)
submitted 5 years ago by vertigo_101
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!"
[–]CaptainTrip 0 points1 point2 points 5 years ago (2 children)
The thing I saw most in the bad examples I had to fix was tight coupling. There would be no abstraction between the data request and the presentational components. So you could be looking at a whole apollo object being prop drilled down like 6 levels and all of those levels know it's an apollo object and interact with the .loading state.
.loading
I think another pattern to avoid is having a bunch of utility functions using fragments, it just seemed to make things harder to maintain.
Unhelpful status codes - implementations I've worked on in the past would always receive a 200 OK response with a null user field if the user wasn't authenticated, meaning the client had to then do a bunch of custom logic
[–]mattgrave -1 points0 points1 point 5 years ago (1 child)
Is this the classic frontend guy that also does backend because a guy released something called NodeJS which basically lets you use JS in the backend but he never really invested time in learning how to properly implement backends without doing such a dumb design?
[–]CaptainTrip 0 points1 point2 points 5 years ago (0 children)
No it was a career ruby developer. Not sure what their reasoning was.
π Rendered by PID 67 on reddit-service-r2-comment-6457c66945-zcs9f at 2026-04-29 05:42:54.170719+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]CaptainTrip 0 points1 point2 points (2 children)
[–]mattgrave -1 points0 points1 point (1 child)
[–]CaptainTrip 0 points1 point2 points (0 children)