[ClojureScript] How to develop ClojureScript in Web worker?
As I can see the hot loading will fail in such case since it cannot touch the DOM. But it's a obvious solution we need to gain performance in a browser. Is there some solution for it now? -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at https://groups.google.com/group/clojurescript.
Re: [ClojureScript] Re: ANN: ClojureScript 1.8.51
I cannot replicate this problem when following the Quick Start instructions using the latest released uber JAR linked to in the Quick Start. David On Mon, May 30, 2016 at 7:34 PM, Peter West wrote: > Running the Quick Start, I get the "No 'xpc' param provided to child > iframe." error from, I think, start-evaluator in > cljs.clojure.browser.repl.cljs when I try to get the repl running. This is > in both Safari and Chrome. Any idea what I'm doing wrong? > > On Monday, 25 April 2016 21:39:57 UTC+10, David Nolen wrote: >> >> ClojureScript, the Clojure compiler that emits JavaScript source code. >> >> README and source code: https://github.com/clojure/clojurescript >> >> Leiningen dependency information: >> >> [org.clojure/clojurescript "1.8.51"] >> >> This release updates the Closure Compiler and tools.reader dependencies, >> fixes a race condition with :parallel-build, improves JS module >> integration, and includes a number of enhancements and fixes around >> optional self hosting. A big thanks to everyone who contributed! >> >> As always feedback welcome. >> >> ## 1.8.51 >> >> -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojurescript+unsubscr...@googlegroups.com. > To post to this group, send email to clojurescript@googlegroups.com. > Visit this group at https://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at https://groups.google.com/group/clojurescript.
[ClojureScript] Re: ANN: ClojureScript 1.8.51
Running the Quick Start, I get the "No 'xpc' param provided to child iframe." error from, I think, start-evaluator in cljs.clojure.browser.repl.cljs when I try to get the repl running. This is in both Safari and Chrome. Any idea what I'm doing wrong? On Monday, 25 April 2016 21:39:57 UTC+10, David Nolen wrote: > > ClojureScript, the Clojure compiler that emits JavaScript source code. > > README and source code: https://github.com/clojure/clojurescript > > Leiningen dependency information: > > [org.clojure/clojurescript "1.8.51"] > > This release updates the Closure Compiler and tools.reader dependencies, > fixes a race condition with :parallel-build, improves JS module > integration, and includes a number of enhancements and fixes around > optional self hosting. A big thanks to everyone who contributed! > > As always feedback welcome. > > ## 1.8.51 > > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at https://groups.google.com/group/clojurescript.
[ClojureScript] Re: [ANN] Carry - a single-page application framework
воскресенье, 29 мая 2016 г., 4:44:58 UTC+3 пользователь Jiyin Yiyong написал: > On Friday, May 27, 2016 at 2:48:43 AM UTC+8, Yuri Govorushchenko wrote: > > I'm happy to share the new framework for building SPAs, inspired by > > re-frame, Elm architecture, Redux and Cerebral. > > > > Check it out at https://github.com/metametadata/carry > > > > Features: > > > > - Functional API with no globals. > > - Agnostic to UI layer. > > - Time traveling debugger inspired by Redux DevTools and Cerebral Debugger. > > - Live code editing using Figwheel and debugger's replay mode. > > - Reagent bindings achieve code readability and rendering optimization > > using view-model/view pattern based on Reagent reactions (similarly to > > re-frame). > > - Fractality: Elm-ish architecture can be applied to create composite apps. > > - Core library can be also used in Clojure projects. > > > > I hope someone might find it useful and I would be glad to hear any > > feedback. > > Thanks! > > I think you need to divide the code into more folders. It looks not quite > clear to me > https://github.com/metametadata/carry/blob/master/examples/counter-list/src/app/core.cljs Thank you! I've extracted the namespaces and also simplified the model. I hope it's more comprehensible now. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at https://groups.google.com/group/clojurescript.
Re: [ClojureScript] re-frame testing with multiple dispatches
To be honest, I’m not really sure what the answer is here. Would love to know though. You can hook into the re-frame event queue if you want. I’d probably be leaning towards Selenium/Karma, but I don’t really know enough to say. Would be interested to hear your results! On Fri, May 27, 2016 at 6:38 AM keegan myers wrote: > I'm interested in the idea of an async test but I am a little unclear how > it could be implemented. More specifically If I have a component which has > been render using cljs-react-test.utils. So I call new-container to give me > a dom root then reagent/render-component on the component in question. At > that point I make some arbitrary changes to fields using react simulated > events. Then I should be able to click the submit button on the component > in question via sim/click. But the submit handler dispatches other > functions that don't seem to be executed. > > Would it be easier if I looked through re-frame's source and found the > actual queue then either made assertions against its contents, or forced > the queue to be processed? Or would I be better severed placing these types > of tests in an integration test suit and run them with selenium or karma. > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojurescript+unsubscr...@googlegroups.com. > To post to this group, send email to clojurescript@googlegroups.com. > Visit this group at https://groups.google.com/group/clojurescript. > -- — Daniel -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at https://groups.google.com/group/clojurescript.