3 ms·
Yes you can! We are using requirejs, babel,es6 to have a react setup that runs completely in the browser. But for some reason, react makes this information real
by sandGorgon 11y ago
Yes you can!
We are using requirejs, babel,es6 to have a react setup that runs completely in the browser. But for some reason, react makes this information really obscure.
It works really well. Including breakpoints in chrome,etc.
- VeilEm 11y agoIt might work for developing, but I don't think it works well for people actually using it, it's too slow.
- sandGorgon 11y agowhich is actually my point - running it this way helps us do a lot of beta testing internally,etc. Obviously this is not a production strategy, but the way we have written code (with requirejs) is that we can switch between them. I really hope that React makes this more public - it makes it for quick and dirty prototyping. P.S. love ES6. Performance be damned!!
- lisivka 11y agoCare to share your setup? I.e. minimal todo-like application with both direct development and with compilation for production site.
- sandGorgon 11y agoGive me a few hours, I'll strip some stuff out.
- lisivka 11y agoDon't spent to much time on it, because it will be deprecated in few years. :-)