Hi David and Dan, I edited Om's Basic Tutorial (https://github.com/swannodette/om/wiki/Basic-Tutorial) to be used with Chestnut. Most of the work (not much!) was changing "evaluate in LightTable" to "save in your text editor". I don't know what the procedure is for updating a Wiki and having this conversation, *should I open an issue on Om?* I have it as a standalone repo in case someones wants to propose a change or make a pull request:
https://github.com/bensu/basic-om-tut Two issues: 1. Chestnut 0.6.0 (current stable version) uses Om 0.7.3 and I needed to deref a cursor inside a go loop in order for things to work. See https://github.com/swannodette/om/issues/315 and https://github.com/swannodette/om/commit/92a3e0cf698769fb59bb3744faddaea40b37412d. Om version is bumped to 0.8.3 beta in v0.7.0-SNAPSHOT-20141226 2. Chestnut's 0.6.0 doesn't reload the index.html (not on save, not on refresh). The whole process needs to be restarted. See: https://github.com/plexus/chestnut/issues/84 This was addressed in v0.7.0-SNAPSHOT-20141207. *I would wait until Chestnut 0.7.0 *stable is published in Clojars before adding this tutorial to the Om Wiki. Otherwise, if you feel the extra dependency on Chestnut is also too much, I'll fork mies-om and add Figwheel there for the tutorial. After revising this work, I'll move on to the next tutorial. Best Sebastian Bensusan On Tuesday, January 27, 2015 at 5:25:09 PM UTC+1, David Nolen wrote: > > I think expecting every last thing to work especially from third parties > who may be wisely lagging behind is unlikely at least for the near future. > > I haven't kept up with Light Table and what issues it may have. Now is > probably a good time to remove the Light Table centric nature of the Om > tutorials and switch to a Figwheel based thing that doesn't require > anything more than your text editor of choice. > > The wiki has always been community editable and I would love to see people > push it forward especially with stuff like this. I will have less time for > such things as I focus more on Om core and ClojureScript enhancements. > > David > > On Tue, Jan 27, 2015 at 10:46 AM, Olav Nymoen <ol...@comoyo.com > <javascript:>> wrote: > >> Just testing clojurescript out so many possible pitfalls on my side here. >> >> Does the new javascript externals stuff break lighttables live external >> browser functionality? >> >> Following the basic intro tutorial I cannot get live updates to work. The >> mies-om om-tut is based on 0.8.4 , and it cannot reference >> com.facebook.react, while 0.8.6 cannot find cljsjs.react. >> >> It compiles nicely with lein, but I can't seem to get the lighttable live >> REPL stuff to work. >> >> Olav >> >> On Tuesday, January 27, 2015 at 1:57:19 AM UTC+1, David Nolen wrote: >> > The only significant change is that Om now relies on the cljsjs.react >> artifact instead of the one I maintained myself. cljsjs.react has the >> benefit that usage of React with addons instead of plain React may be >> configured via Maven in your pom.xml or your project.clj. It's exciting to >> see that we are already reaping the benefits of :foreign-libs and Maven >> over existing JavaScript solutions for managing dependencies. >> > >> > >> > This release also includes a fix for a very subtle set-state! bug >> discovered by Brenton Ashworth. >> > >> > >> > >> > Feedback welcome! >> > >> > >> > https://github.com/swannodette/om >> > >> > >> > >> > David >> >> -- >> 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 clojurescrip...@googlegroups.com <javascript:>. >> To post to this group, send email to clojur...@googlegroups.com >> <javascript:>. >> Visit this group at http://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 http://groups.google.com/group/clojurescript.