This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Re: Figwheel naming - the readme used to have this explanation: File Eval Gui Loop > FEGL > FEGUIL > "figwheel"
https://github.com/bhauman/lein-figwheel/tree/f90378b3630852d3ab6a29f36e0a3c3f9dfa37ad
Does anyone have problems loading material fonts from figwheel server with re-frame template? Chrome and FF fail to load them for me.
the demo here is working: http://re-demo.s3-website-ap-southeast-2.amazonaws.com/#/button - the only difference I see initially is the content-type there being application/octet-stream
hashes differ:
a2a1ba89e7f9d29f7d5aee76e8b9f7ab
2f1ba61f904c3a7b9a9bc7e1463c723d assets/fonts/Material-Design-Iconic-Font.woff
@mikethompson: see ^^^, re-frame +re-com template fonts are broken
@estsauver: it came up, but a lot of languages don’t support a notion of metadata so it would complicate implementations for all except Clojure/ClojureScript
re: re-frame-template, @ui I tried to replace the .woff file in template with the one from re-com demo and I still am getting broken_font/views.js notice. (The notice goes away on refresh of page, but not if you make change to source files).
Reagent fans: It works with React Native: https://github.com/chendesheng/ReagentNativeDemo
@gadfly361: strange, i've replaced and font loaded w/o errors displaying icons normally
Is there any way to make Firefox as functional as Chrome for React debugging and Clojurescript in general?
dnolen: It is technically interesting that that Reagent React Native demo works by having the React Native packager load the entirety of ClojureScript’s Google Closure + application CLJS code “flat” JavaScript as a single encapsulated CommonJS module, alongside the other React Native CommonJS modules. (Backwards or reverse of the approach that @maria's GSoC will lead to.)
(That works, but it seems to preclude Closure DCE, along with probably other consequences.)
@dnolen: Looks like :optimizations :whitespace
. The interesting technical bit is our friend appearing in the midst of the React Native packager output: https://gist.github.com/mfikes/75f63f90a024393a3543
@mfikes: ah so you’re creating a little wrapper so React Native can load it, or did React Native do that for you?
@dnolen: I didn’t create it. I’m dissecting what https://github.com/chendesheng created.
@dnolen: There has been a long-standing Reagent ticket asking for React Native support. Finally chendesheng
just did it. https://github.com/reagent-project/reagent/issues/119
One consequence of chendesheng
’s approach is that it probably precludes REPL support as the application code is ensconced in a protective CommonJS closure.
@ul: After trying it again, I am able to get the icons to show as expected - thanks! I will push out a new version of re-frame-template today. CC: @mikethompson @zoldar
@gadfly361: great that it got sorted. I'm just about to sit down and play around with re-frame + re-com
if I have [org.clojure/core.async "0.1.346.0-17112a-alpha”]
in my dependencies, but figwheel still complains with No such namespace: clojure.core.async
, what could I be doing wrong?
@markstang: hey there, nice to see you around here