This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-23
Channels
- # aatree (72)
- # aws (12)
- # beginners (34)
- # boot (256)
- # braid-chat (12)
- # cider (20)
- # clara (8)
- # cljs-dev (1)
- # cljsjs (1)
- # cljsrn (38)
- # clojure (61)
- # clojure-dev (10)
- # clojure-ireland (1)
- # clojure-japan (1)
- # clojure-sg (2)
- # clojurescript (48)
- # community-development (3)
- # conf-proposals (3)
- # core-async (6)
- # cursive (8)
- # datomic (4)
- # emacs (9)
- # hoplon (1)
- # leiningen (1)
- # mount (9)
- # off-topic (4)
- # om (109)
- # parinfer (26)
- # perun (4)
- # proton (5)
- # reagent (14)
- # vim (3)
@dvcrn: You’re the only one I’ve heard volunteer to consider putting a talk together.
So I’m trying to modify a re-natal project to use om-next and am having trouble getting figwheel to detect changes in the source files. Anyone know how this works?
Ah never mind. It’s working.
@seantempesta: I’d be interested to see what the code looks like to have basic support for om-next using re-natal. I’ve used natal since many weeks but debugging with the browser doesn’t work and I’d like to have fighweel to surgically change stuff in the runtime (not whole app reload).
@gphilipp: hmm, what I did feels like kind of a hack, but I can share it https://github.com/seantempesta/re-natal-om-next
basically, I just updated the project.clj (removed reagent, added the om-next dependencies), removed all references to reagent, and then replaced the ios/core.cljs and android/core.cljs context with the default om-next template from natal.
Ok. I cloned the repo, and xcode doesn’t compile the project, RCTRootView.h file not found
The goog dir is not present under target/ios
. Not even using vanilla re-natal init SomeApp
We could think of having support for om-next in re-natal, like in it is done in original natal. But I do not know om-next so I can not support much here
I have started with om.prev and switched to reagent+re-frame. Someday I might get to know om-next, when I have motivation
@drapanjanas: I can’t manage to have re-natal run the app after init, it fails with the error above
Was init successful? try lein prod-build
did you run then re-natal use-fighweel and lein figwheel ios?
well, thats funny, that should be the last step of init.
using importScripts
function to load JS, and I have hacked packager to server *.map files from fs
@seantempesta: I guess you might want also to try out artemyarulin’s template, it is om-next from the start, and uses same figwheel approach https://github.com/artemyarulin/om-next-cross-platform-template
@drapanjanas: hmm, I talked to @artemyarulin about this yesterday and he recommended I use re-natal. Not sure what the differences are at this point, but maybe I’ll switch down the road?
It really depends, I find his new template is really a good match with om next and it's quite easy to get started.
Yes, re-natal generates reagent+re-frame example app
okay, I’ll give it a shot. Thanks for the tip.
@seantempesta: there are still references to reagent in your repo in the env.ios.main
namespace
@gphilipp: Yeah? Where? I just grepped my repo and didn’t find anything. Maybe you’re seeing it in an old version of my repo?