I want to load reagent components at run-time.  
using boostrap cljs but i'm getting error messages about macros not being 
availablbe

Has anyone tried this? Would the fix be to write macros in cljs instead of 
clj?

Calling back!
 {:opts
 {:read-file-fn! "<hidden function>",
  :init-fns "<hidden function>",
  :write-file-fn! "<hidden function>",
  :verbose true,
  :warning-as-error true,
  :foreign-libs
  [{:file
    "cljsjs/create-react-class/development/create-react-class.inc.js",
    :provides ["cljsjs.create-react-class" "create-react-class"],
    :requires ["react"],
    :file-min
    "cljsjs/create-react-class/production/create-react-class.min.inc.js",
    :global-exports {nil nil}}],
  :load-fn! "<hidden function>",
  :target :default,
  :src-paths ["/js/generated/prod" "/js/generated/dev"]},
 :data
 {:source "(require '[demo.paint])",
  :ns cljs.user,
  :target :default,
  :form (require '[demo.paint]),
  :on-error-fn! "<hidden function>",
  :on-success-fn! "<hidden function>"},
 :res
 {:error
  #error {:message "No such macros namespace: reagent.interop, could not 
locate reagent/interop.clj or reagent/interop.cljc", :data {:tag 
:cljs/analysis-error}}}}



-- 
You received this message because you are subscribed to the Google Groups 
"Reagent-Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reagent-project+unsubscr...@googlegroups.com.
To post to this group, send email to reagent-project@googlegroups.com.
Visit this group at https://groups.google.com/group/reagent-project.
For more options, visit https://groups.google.com/d/optout.

Reply via email to