I am currently looking at the options for supporting file uploads in several browsers in a ClojureScript SPA.
My first attempt was posting a form with a file upload with cljs-http. This didn't work because the Ring/compojure app started to complain about the content boundary not being in order. Also just using cljs-http will not work for IE9 of course. Next, I gave goog.net.iframeIO a try. This will work for the spectrum of browsers we have to support, but working with iframes for modern browsers doesn't feel right. Then I tried jquery-file-upload. Still playing around with it, but I'm pretty sure this will give me what I need, as it has a fallback mechanism for older browser via iframe transport. I wonder what other options I have and what is convenient in combination with React and ClojureScript. Feel free to post some examples to your open source projects or give any other helpful tips. Thanks, Michiel Borkent -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
