This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-24
Channels
- # admin-announcements (1)
- # aleph (3)
- # announcements (4)
- # beginners (30)
- # boot (296)
- # cider (21)
- # cljsjs (2)
- # cljsrn (18)
- # clojure (124)
- # clojure-poland (23)
- # clojure-russia (4)
- # clojurescript (73)
- # core-async (58)
- # css (3)
- # datomic (31)
- # editors (4)
- # emacs (35)
- # euroclojure (3)
- # hoplon (104)
- # immutant (8)
- # jobs (3)
- # jobs-discuss (1)
- # keechma (1)
- # ldnclj (33)
- # leiningen (5)
- # liberator (1)
- # mount (20)
- # off-topic (2)
- # om (104)
- # onyx (54)
- # parinfer (80)
- # proton (1)
- # re-frame (59)
- # remote-jobs (1)
- # ring-swagger (9)
- # slack-help (15)
- # spacemacs (7)
- # yada (12)
@jurgen_photek & @andrewboltachev: I put an example up of using om.next with react-native-router-flux (which also uses ex-navigator under the covers). I think it’s the way I’m going to go. I want the route changes to come from om.next’s app-state so everything is data driven. https://github.com/seantempesta/om-next-react-native-router-flux
@seantempesta hey! cool example thanks!
Hi. Where can I place assets, e.g. images to be served by react-native start
?
@andrewboltachev: Are you using re-natal?
Static Images Since version 0.14 React Native supports a unified way of referencing static images In Re-Natal skeleton images are stored in "images" directory. Place your images there and reference them from cljs code: (def my-img (js/require "./images/my-img.png")) Adding an image during development When you have dropped a new image to "images" dir, you need to restart RN packager and re-run command: $ re-natal use-figwheel This is needed to regenerate index.*.js files which includes require calls to all local images. After this you can use a new image in your cljs code.
There’s a section on static images in the README. https://github.com/drapanjanas/re-natal
oops, I should've check README myself first
no prob
@seantempesta: btw, I'll check your om-next-react-native-router-flux
too, first I'll finish something out there
cool. it’s still a little rough and definitely a work in progress. but it does show how you could do screen transitions, tabs, modals and action sheets from clojurescript.
In flexbox, is it possible to create two fixed-width columns at left and right sides and one flexible, i.e. one that takes the rest of the width?
soo I’m trying rn for the first time, using boot-react-native. I cd’d into the example project, did the npm install
and boot dev
, opened up xcode, and got this error:
cp: /Users/ajm/Dropbox/~/Desktop/boot-react-native/example/app/dist/main.jsbundle: No such file or directory
I’m assuming that means boot dev
didn’t do something it was supposed to, but I don’t know enough about what was supposed to happen to know where to start debugging.
here’s my full boot dev
output. nothing looks especially odd to me but also I don’t know what to expect: https://gist.github.com/amonks/08fd0737835f9752444f