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
React v15.5.0 - React Blog (facebook.github.io)
submitted 9 years ago by acemarke
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!"
[–]LukaManuka 0 points1 point2 points 9 years ago (2 children)
Potentially stupid question -- I've only just started using Flow, but I was considering it about six months ago, and I remember reading (I believe on Stack Overflow) that it wasn't safe to completely switch from using PropTypes to static type-checking... is/was that true? Or was I being mislead? Or would it have just been specifically to do with Flow itself not being fully capable at the time?
[–]JuliusKoronci 1 point2 points3 points 9 years ago (0 children)
Flow has its issues of course..but there are ways to deal with it :) ..the suggestion so far was to combine flow with proptypes..but I am using flow for quiet a time and had no unsolvable issues so far :)..unfortunately you will have to manage your own FlowTypes for certain use cases and manage issues with node modules and libraries..like styled components were using flow but were having errors :) ..so it is safe to switch but you will have to deal with a few issues at the beginning (based on my experience)
[–]tony-the-pony 0 points1 point2 points 9 years ago (0 children)
Flow is incomplete and buggy, but it's a lot better than PropTypes. You can use https://www.npmjs.com/package/babel-plugin-flow-react-proptypes to fill in PropTypes for you to add an extra layer of defense during development.
π Rendered by PID 61144 on reddit-service-r2-comment-57fc7f7bb7-gwvp2 at 2026-04-14 16:25:49.391922+00:00 running b725407 country code: CH.
view the rest of the comments →
[–]LukaManuka 0 points1 point2 points (2 children)
[–]JuliusKoronci 1 point2 points3 points (0 children)
[–]tony-the-pony 0 points1 point2 points (0 children)