On Friday, March 6, 2015 at 11:28:59 PM UTC-5, Mike Thompson wrote:
re-frame is a pattern for writing SPAs, using Reagent.
https://github.com/Day8/re-frame
[...]
- pushes Reagent's FRP capabilities (via use of reaction)
The magic thing about a reaction is that the computation it wraps
On Tuesday, March 24, 2015 at 7:21:32 AM UTC-4, Thomas Heller wrote:
Question: why exactly is this type hint needed when js/goog.DEBUG is used
in an if? As far as I can see, js/goog.DEBUG is a boolean already.
Short answer: We don't evaluate or parse any Javascript when compiling
Hi *,
I've just finished the last few bits of my CLJS logging library:
https://github.com/rauhs/klang
Simply git clone it and run lein figwheel to see a demo. (There is also an
older demo at http://rauhs.github.io/klang/ but I it's not running with the
latest changes)
Features:
* Tabs
Autocomplete is going to depend on your editor. For Emacs and vim you'll need
cider middleware:
https://gist.github.com/rauhs/c9183e7afa2dca87126e
https://github.com/clojure-emacs/cider-nrepl
See the wrap-complete middleware. It'll pull in compliment:
I just messed with multimethods and :hierarchy which expects a var (#' or var).
Doing so emitted my full path name of the cljs file into the JS file (meta
data). Is this on purpose?
Could this be potentially a security issue?
Could we add a compiler option to sanitize this?
Cheers,
Andy
--
, 2015 at 1:24 PM, AndyR andre...@gmail.com wrote:
I just messed with multimethods and :hierarchy which expects a var (#' or
var). Doing so emitted my full path name of the cljs file into the JS file
(meta data). Is this on purpose?
Could this be potentially a security issue?
Could we
reaction is a macro that expands to evaluating the passed forms (here: 'v')
within a function (make-reaction).
I don't know the internals of Reagent but my guess is that Reagent has to
figure out which ratoms were used in that function call. This is done somehow
(by maybe some context setting
On Friday, April 3, 2015 at 5:25:24 PM UTC-4, Colin Yates wrote:
Hi,
If I use :default-value then the input field keeps up no matter how fast I
type. If I use :value then I can lose quite a few key presses if I type
really quickly.
I expect I probably need to break my components into
:45, AndyR andre.r...@gmail.com wrote:
reaction is a macro that expands to evaluating the passed forms (here:
'v') within a function (make-reaction).
I don't know the internals of Reagent but my guess is that Reagent has to
figure out which ratoms were used in that function call
I have an OpenResty (nginx) with HTTP-2 running for local development. Just
switched off H2 and DomContentLoaded increased from 2.1s to 3.6s. That's for
~290 js files. The last JS file was done downloading ~1.3s for H2 and 2.4s with
HTTP-1.1.
So maybe also give HTTP-2 a closer look.
HTH
On
It's noteworthy that this behavior again changes after advanced builds.
There is a related ticket here:
https://dev.clojure.org/jira/browse/CLJS-2038
It's probably best to avoid redefining recursive functions for anything
non-dev stuff.
- Andre
On Monday, October 24, 2016 at 1:31:13 AM
This is documented in Readme of the Github project, see:
https://github.com/clojure/clojurescript#developers-welcome
In particular see:
https://github.com/clojure/clojurescript/wiki/Building-the-compiler
Note, you might also need to run "./scripts/bootstrap" before the build
(not 100% sure)
You should be extra careful in CLJS when creating keywords with multiple
slashes. They currently behave different from CLJ. Logged here:
https://dev.clojure.org/jira/browse/CLJS-2120
On Thursday, March 1, 2018 at 1:14:34 PM UTC+1, outr...@gmail.com wrote:
>
> I've encountered a problem when
13 matches
Mail list logo