5 ms·
Show HN: React-live
- jauco 12y agoFYI: Refused to execute script from 'https://rawgithub.com/ajaxorg/ace-builds/master/src/ace.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. in chrome
- swah 12y agoTo me: "Please contact its owner and ask them to use cdn.rawgit.com instead, which has no traffic limit."
- peri 12y agoSorry, I am having this problem in another browser, who should the GP contact?
- uxtemple 12y agoHi all, react-live author here. Thanks for the heads up and sorry for not using cdn.rawgit.com before! Thanks for the PR as well, it was just merged :) The code is updated now and I've also done a little fix to the CSS, feel free to fork it with other Flux frameworks / React libraries.
- yoctonaut 12y agoFrom the Safari console: SyntaxError: Unexpected token '<' [ace.js:0] ReferenceError: Can't find variable: ace TypeError: undefined is not an object (evaluating 'this.state.editor.getSession') Aha: hosting ace.js on rawgithub has earned you a blacklisting for abuse, on the grounds of too many requests. Using cdn.rawgit.com instead of rawgit.com should fix it.
- joelburget 12y agoI built something similar. It's meant to duplicate the live editing functionality on the React homepage. My repo has components for live compilation of react code, the codemirror editor, and using both of them together. demo: http://joelburget.github.io/react-live-editor/ http://joelburget.github.io/react-live-editor/ code: https://github.com/joelburget/react-live-editor https://github.com/joelburget/react-live-editor
- kaoD 12y agoWhile the asset URLs are updated to the CDN, here's the GitHub repo: https://github.com/dariocravero/react-live/ https://github.com/dariocravero/react-live/
- deleted 12y ago[deleted]
- markmm 12y agoFirst rule of Showing off your new project. Make sure it works. I get blank page.
- ldng 12y agoNot working for me. Firefox 35 on Linux. No console error. I have it working in Chromium.
- drum 12y agoWorked well for me in Chrome. One very minor suggestion - perhaps you should add the text "You can dump stuff on #el" to the code to show beginners where to edit.
- pbreit 12y agoAny hint on what I should do to try it out? How do I dump something on #el?