This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-19
Channels
- # aws (9)
- # bangalore-clj (1)
- # beginners (6)
- # cider (17)
- # cljs-dev (9)
- # cljsrn (31)
- # clojure (70)
- # clojure-spec (19)
- # clojurescript (122)
- # cursive (1)
- # datomic (20)
- # dirac (8)
- # fulcro (19)
- # hoplon (25)
- # instaparse (2)
- # lambdaisland (3)
- # luminus (8)
- # lumo (10)
- # om (22)
- # parinfer (25)
- # protorepl (2)
- # re-frame (35)
- # reagent (1)
- # test-check (5)
- # unrepl (6)
@seantempesta, I am so sorry for very begin.
@scknkkrer: No problem. IMHO the best navigation library is reactnavigation (https://reactnavigation.org). I wrote a thin wrapper for it here (https://github.com/seantempesta/cljs-react-navigation)
I wrote an example for re-frame
in the examples folder.
Can you write an example for your wrapper for using re-frame that uses external modules. Because I was all night long wake and force to work that.
What do you mean “uses external modules”? You’re using re-natal
right?
I believe the example I wrote also used re-natal
so it should support external modules.
{ “name”: “fbiyer”, “interface”: “reagent6", “envRoots”: { “dev”: “env/dev”, “prod”: “env/prod” }, “modules”: [ “native-base”, “fetch”, “react-native-vector-icons”, “react-navigation”, “react-native-swiper”, “react-native-datepicker” ], “imageDirs”: [ “images” ], “platforms”: { “ios”: { “host”: “192.168.1.22", “modules”: [] }, “android”: { “host”: “10.0.2.2", “modules”: [] } } }
And you’re saying it was rendering properly until you added native-base
?
It’s already added. I just wanted to add your cool wrapper. And I can’t get any page on render.
{ “name”: “fbiyer”, “version”: “0.0.1", “private”: true, “scripts”: { “start”: “node node_modules/react-native/local-cli/cli.js start”, “test”: “jest” }, “dependencies”: { “babel-plugin-transform-es2015-block-scoping”: “6.15.0”, “native-base”: “^2.3.1”, “react”: “16.0.0-alpha.12”, “react-native”: “0.46.1”, “react-native-datepicker”: “^1.6.0”, “react-native-fetch”: “^1.0.0”, “react-native-navigation”: “^1.1.193”, “react-native-swiper”: “^1.5.10”, “react-native-vector-icons”: “^4.1.1”, “react-navigation”: “^1.0.0-beta.11” }, “devDependencies”: { “babel-jest”: “20.0.3", “babel-preset-react-native”: “2.1.0", “jest”: “20.0.4", “react-test-renderer”: “16.0.0-alpha.12" }, “jest”: { “preset”: “react-native” } }
Well, it’s going to be tricky debugging where the problem is happening without more information. Can you get my example running? This one… https://github.com/seantempesta/cljs-react-navigation/tree/master/examples/re-frame/uiexplorer/src/uiexplorer
Thanks!
I’ve been meaning to write some more documentation. It’s reassuring to know that someone else is using it. Otherwise I feel like I’m just pouring time into something that isn’t being used.
Here is my error when I try to get using “your home component and stack-navigator”.
Hmm. Looks like you’re referencing a react component instead of an instance of a component. In react, they are using an Object Oriented approach where you have a class and then instances of a class (elements).
ah, yeah. common problem.
I wish the error reporting on reagent
was more clear about what’s actually wrong.