seantempesta / re-natal Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I test the re-natal and the dependency re-frame is 0.8.0-alpha9. It works okay.
And I try to change to re-frame 0.8.0.
When test in android avd, it got this error:
console.error: "goog.require could not find: re_frame.registrar"
error
YellowBox.js:60
customEval
figwheel-bridge.js:75
<unknown>
figwheel-bridge.js:88
<unknown>
JSTimers.js:47
callTimer
JSTimersExecution.js:84
<unknown>
JSTimersExecution.js:119
callTimers
JSTimersExecution.js:119
__callFunction
MessageQueue.js:204
<unknown>
MessageQueue.js:95
guard
MessageQueue.js:41
callFunctionReturnFlushedQueue
MessageQueue.js:94
I try the react-native run-ios
, and got this error:
Unexpected identifier 'GET'
customEval
figwheel-bridge.js:75
But the react-native run-android
works ok.
So I think it is because of the iOS identifier setting. How to set it?
I try to import react-native-map, even use lein prod-build
and react-native run-android
, I got this error:
Requiring unknown module "react-native-map/MapView".If you are sure the module is there, try restarting the packager or running "npm install".
unknownModuleError
require.js:147
loadModuleImplementation
require.js:88
guardedLoadModule
require.js:65
And my code is:
(def google-map (js/require "react-native-map/MapView"))
And also I tried this:
(def google-map (js/require "react-native-map"))
(def google-map-view (r/adapt-react-class (.-MapView google-map)))
I have checked these:
"dependencies": {
"react": "15.2.1",
"react-native": "0.31.0",
"react-native-maps": "^0.7.1"
},
"modules": [
"react-native-map"
],
And I check the index.android.js is like this:
var modules={'react-native': require('react-native'), 'react': require('react')};modules['react-native-map']=require('react-native-map');modules['./images/z3d.png']=require('./images/z3d.png');
require('figwheel-bridge').withModules(modules).start('MyApp','android','10.0.2.2');
They are not work, any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.