VK
Size: a a a
VK
a
VK
VK
IG
KC
IG
(ns mobile.core
(:require [reagent.core :as r]))
(def ReactNative (js/require "react-native"))
(def text
(r/adapt-react-class (aget ReactNative "Text")))
(def view
(r/adapt-react-class (aget ReactNative "View")))
(defn comp-main []
[view
{:style {:flex 1
:justifyContent "center"
:alignItems "center"}}
[text {} "Hello, world!"]])
(def ^:export App (r/reactify-component comp-main))
IG
(defn reactify-component [_])
IG
App
оказывается nullAC
AC
AC
→ lein re-frisk
Could not find artifact org.clojure:clojure:jar:1.10.0
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
AC
IG
const App: () => React$Node = () => {
return (
...
);
};
VL
const App: () => React$Node = () => {
return (
...
);
};
IG
VL
IG