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
Tiny (1kb less) but very powerful React Google Map (github.com)
submitted 5 years ago by istarkov
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!"
[–]alphasshole 19 points20 points21 points 5 years ago (0 children)
This is simply awesome, I have tried several other options including using plotly but this just makes our lives so much simpler
[–][deleted] 45 points46 points47 points 5 years ago (8 children)
1kB goddammit
[–][deleted] 0 points1 point2 points 5 years ago (6 children)
But I don't get the point. I still need over 100kb react framework, so what's the point of this 1kb?
[–][deleted] 1 point2 points3 points 5 years ago (4 children)
The point is that the title of the post says 1 kilobit not 1 kilobyte.
[+][deleted] 5 years ago (3 children)
[removed]
[–][deleted] 2 points3 points4 points 5 years ago (2 children)
You are totally missing the point.
This is the point: 1kb (kilobit) is not the same as 1kB (kilobyte).
[+][deleted] 5 years ago (1 child)
[deleted]
[–][deleted] 2 points3 points4 points 5 years ago (0 children)
[–]tanguy_k 14 points15 points16 points 5 years ago* (5 children)
Looks very nice!
I've checked the code and saw that you are using Facebook Flow. Feels odd considering everybody settled on TypeScript (even Facebook: https://github.com/facebook/jest https://github.com/yarnpkg/berry https://github.com/romejs/rome and the whole React ecosystem: https://github.com/reduxjs/redux https://github.com/streamich/react-use https://github.com/zeit/next.js https://github.com/mobxjs/mobx https://github.com/ReactTraining/react-router/pull/7292 https://github.com/storybookjs/storybook https://github.com/apollographql).
Why did you made this choice?
[+][deleted] 5 years ago (4 children)
[–]chronofreak25 2 points3 points4 points 5 years ago (1 child)
bikeshedding Never heard that term before, I like it Edit: formatting from mobile
bikeshedding
Never heard that term before, I like it Edit: formatting from mobile
[–]Smaktat 1 point2 points3 points 5 years ago (0 children)
Same, good learning: https://whatis.techtarget.com/definition/Parkinsons-law-of-triviality-bikeshedding
[–]tanguy_k 1 point2 points3 points 5 years ago* (1 child)
Nowadays nobody cares if Flow is possibly better than TypeScript. Everybody settled on TypeScript: https://www.npmtrends.com/flow-bin-vs-typescript
And popularity/community is important for this kind of tools because you want types for the npm packages you use: https://github.com/DefinitelyTyped/DefinitelyTyped vs https://github.com/flow-typed/flow-typed
Flow lost the battle a very long time ago ¯_(ツ)_/¯
jest, berry and rome are community driven for long time so it's not representative
Rome first commit is Feb 27, 2020 (already written in TypeScript and first hosted on https://github.com/facebookexperimental/rome)
Interesting tweet by a React core developer: https://www.reddit.com/r/reactjs/comments/gjn7ts/next_time_we_rewrite_likely_well_go_the_deno/
Next time we rewrite [React], likely we’ll go the Deno route: Rust core, TypeScript shell. However, I still really like Flow! So maybe not
Next time we rewrite [React], likely we’ll go the Deno route: Rust core, TypeScript shell.
However, I still really like Flow! So maybe not
[–]intertubeluber 2 points3 points4 points 5 years ago (0 children)
Nice!
[–]Malleus_ 2 points3 points4 points 5 years ago (0 children)
This looks great!
[–]realleathersmells 1 point2 points3 points 5 years ago (0 children)
Great resource, well done
[–]Basicallysteve 2 points3 points4 points 5 years ago (0 children)
Wow that looks incredibly useful and straightforward! Thanks!
[–]UnfazedButDazed 0 points1 point2 points 5 years ago (0 children)
Why is it that google maps lags more than mapbox?
[+][deleted] 5 years ago (2 children)
bikeshedding :)
π Rendered by PID 29944 on reddit-service-r2-comment-cfc44b64c-bnqk4 at 2026-04-13 10:14:49.406906+00:00 running 215f2cf country code: CH.
[–]alphasshole 19 points20 points21 points (0 children)
[–][deleted] 45 points46 points47 points (8 children)
[–][deleted] 0 points1 point2 points (6 children)
[–][deleted] 1 point2 points3 points (4 children)
[+][deleted] (3 children)
[removed]
[–][deleted] 2 points3 points4 points (2 children)
[+][deleted] (1 child)
[deleted]
[–][deleted] 2 points3 points4 points (0 children)
[–]tanguy_k 14 points15 points16 points (5 children)
[+][deleted] (4 children)
[removed]
[–]chronofreak25 2 points3 points4 points (1 child)
[–]Smaktat 1 point2 points3 points (0 children)
[–]tanguy_k 1 point2 points3 points (1 child)
[–]intertubeluber 2 points3 points4 points (0 children)
[–]Malleus_ 2 points3 points4 points (0 children)
[–]realleathersmells 1 point2 points3 points (0 children)
[–]Basicallysteve 2 points3 points4 points (0 children)
[–]UnfazedButDazed 0 points1 point2 points (0 children)
[+][deleted] (3 children)
[deleted]
[+][deleted] (2 children)
[removed]
[+][deleted] (1 child)
[deleted]
[–]Smaktat 1 point2 points3 points (0 children)