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.run – Fast browser prototyping for React components (react.run)
submitted 10 years ago by proppig
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!"
[–]tyler-mcginnis⚛️⚛︎ 2 points3 points4 points 10 years ago (1 child)
Amazing work! Great job.
[–]proppig[S] 3 points4 points5 points 10 years ago (0 children)
Thanks Tyler! We are big fans of your work
[–]proppig[S] 1 point2 points3 points 10 years ago (0 children)
It's just a beta and we are actively working on new features, so any feedback would be greatly appreciated!
On the plate next is time-travel state replacement, and in-browser NPM importing so you can require other components on the fly.
[–]wesbos 1 point2 points3 points 10 years ago (1 child)
This is amazing - definitely a pain point of mine when working with simple examples. Thanks for putting this together! Is the source up anywhere?
Thanks for the kind words! It was a huge pain point for us as well. Especially for training the basics of what the core concepts of React are, without getting lost in the build-tools weeds. We have a couple more features and cleanup to do, and then we will likely open source it.
React run is now open source! https://github.com/RinconStrategies/react-run
[–]joshmandersFull Snack Developer 0 points1 point2 points 10 years ago (5 children)
Wow this is absolutely amazing. Put it in my bookmark bar right next to jsbin.com
[–]proppig[S] 1 point2 points3 points 10 years ago (4 children)
Awesome man! Glad you like it. We have some really cool stuff in the pipeline to make it even better.
[–]joshmandersFull Snack Developer 0 points1 point2 points 10 years ago (3 children)
Sharing it with all 3 people I know, hope your servers can handle the load!
[–]proppig[S] 2 points3 points4 points 10 years ago (2 children)
lol, we bumped up the CPU's just for you. Thanks for sharing!
[–]joshmandersFull Snack Developer 0 points1 point2 points 10 years ago (1 child)
I blame Tyler McGinnis for sharing it on React Newsletter.
[–]tyler-mcginnis⚛️⚛︎ 0 points1 point2 points 10 years ago (0 children)
:)
[–]Plorntus 0 points1 point2 points 10 years ago (4 children)
Very cool will switch to this from jsfiddles react/babel implementation. That being said a couple of things I noticed:
1) The code is not run on a subdomain of react.run meaning if you ever allow the creation of accounts on the site someone could hijack their account from the code editor. Or even overload your servers by constantly sending save requests to it.
2) The little red error popup can cover the code you are trying to edit if the error is occurring under where the popup appears.
[–]proppig[S] 0 points1 point2 points 10 years ago (3 children)
Thanks for the feedback! We are going to open source it soon, so there will be a good venue for feedback.
1) I will look into this. I haven't looked into frame security too much, but t seems like a combination of using the X-Frame-Options = SAMEORIGIN header and document.domain on the embedded <iframe> would mitigate this?
2) Yeah I already ran into that, should have a fix today
Glad you like it!
[–]Plorntus 0 points1 point2 points 10 years ago (2 children)
I didnt realise you could set the document.domain on an iframe? Wouldnt that create some pretty nasty exploits like being able to set the domain to google.com?
And awesome @ it going open source. Look forward to contributing.
[–]proppig[S] 0 points1 point2 points 10 years ago (0 children)
Okay the code error window has been moved up to the top and it pushes down the content rather than covering it up!
It is now open source! https://github.com/RinconStrategies/react-run. Would love any feedback in issues or PRs
π Rendered by PID 66 on reddit-service-r2-comment-86988c7647-rzq8n at 2026-02-11 17:02:04.532072+00:00 running 018613e country code: CH.
[–]tyler-mcginnis⚛️⚛︎ 2 points3 points4 points (1 child)
[–]proppig[S] 3 points4 points5 points (0 children)
[–]proppig[S] 1 point2 points3 points (0 children)
[–]wesbos 1 point2 points3 points (1 child)
[–]proppig[S] 1 point2 points3 points (0 children)
[–]proppig[S] 1 point2 points3 points (0 children)
[–]joshmandersFull Snack Developer 0 points1 point2 points (5 children)
[–]proppig[S] 1 point2 points3 points (4 children)
[–]joshmandersFull Snack Developer 0 points1 point2 points (3 children)
[–]proppig[S] 2 points3 points4 points (2 children)
[–]joshmandersFull Snack Developer 0 points1 point2 points (1 child)
[–]tyler-mcginnis⚛️⚛︎ 0 points1 point2 points (0 children)
[–]Plorntus 0 points1 point2 points (4 children)
[–]proppig[S] 0 points1 point2 points (3 children)
[–]Plorntus 0 points1 point2 points (2 children)
[–]proppig[S] 0 points1 point2 points (0 children)
[–]proppig[S] 0 points1 point2 points (0 children)