When running lein ancient on a clojurescript project, it suggests there is
a version 1.9.495, but the clojurescript github page states that 1.9.494 is
the latest released clojurescript version.
Where does clojurescript 1.9.495 come from, really?
Thanks,
Linus
--
Note that posts from new
Hi Rickesh,
it looks like you use reagent.
I think the type-ahead functionality in reagent-forms is the simplest way
to get that functionality.
https://github.com/reagent-project/reagent-forms#typeahead
/Linus
2017-03-15 11:31 GMT+01:00 'Rickesh Bedia' via ClojureScript <
it's like... not possible with hiccup. Usually I do [:div {:itemscope true}
"BRMC"] or perhaps [:div {:itemscope :itemscope} "BRMC"].
I hope that works out in this case as well.
/Linus
2017-02-21 21:33 GMT+01:00 Divyansh Prakash :
> Hi!
>
> I'm working on a music
Is it possible to run something like cljr clean ns [1] on ClojureScript
source code?
/Linus
[1] https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-clean-ns
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message
There are cookbooks for both Om and Reagent:
https://github.com/omcljs/om-cookbook
https://github.com/reagent-project/reagent-cookbook
They're really helpful, both for Om and Reagent respectively, but also for
getting a better understanding och js-interop in general.
/Linus
2016-07-06 21:58
Are you aware of that reagent make react have the DOM under quite tight
control by default?
Have you made wrapped your graph along the lines of
https://github.com/reagent-project/reagent-cookbook/blob/master/recipes/highcharts/README.md
ie that React should leave the node with subnodes untouched
I think you could just use (aset the-object "methodName" (fn [] ...)). I
don't know how javascript handles "this" in such a case, hopefully you can
do without it.
There are plenty of examples of interacting with js objects in
ClojureScript here:
You have to make sure React doesn't touch the elements after Modal dialog
codes it job.
Use the similar technique as is shown in the highcharts cookbook entry:
https://github.com/reagent-project/reagent-cookbook/blob/master/recipes/highcharts/README.md
(You may consider if it's a good idea to
datomics pull-api actually goes both ways with reverse-lookup [1]
by using reverse lookups you could have the dashboard query look something
like
[{:dashboard/items [:item :name {:_cart [:id]}]
(minus om/get-query things). Such a data-structure would make highlighting
easy, just look if the
Either you can checkout Quil in clojurescript, which is wrapping Processing
for js. It's a well designed and mostly imperative-style graphical
environment.
https://github.com/quil/quil/wiki/ClojureScript
You can, of course, use the ordinary js methods to create and paint on a
canvas element like
Figwheel is nice, even though I just get the repl in the command-line there
(no autocomplete etc).
The features for compiling and update client side cljs is really really
good.
https://github.com/bhauman/lein-figwheel
Den 11 sep 2015 04:22 skrev "Mike Fikes" :
> 1. Are
This is a good question.
Until very recently, there was no easy way to share code between
Clojure and ClojureScript at all, although the pure clojure-core stuff
did work pretty much out of the box.
Still it's quite common that a library has dependencies to other
jvm-stuff, or uses jvm-stuff
Transit is noticeably faster than EDN. I cannot recommend to use JSON
between a clojure backend and a clojurescript application, it's just
simply too much work to get everything right, entering dates, big
decimals, UUIDs...
/Linus
2015-09-04 18:37 GMT+02:00 Brandon Adams :
>
I'm not sure if I understand your question, but there's no apparent way
clojure.browser.dom would make any sense since it doesn't (or at least
didn't) map to any specific JVM host language feature, but was very
relevant in clojurescript, at least in the pre-react era.
The stranger part is
Well, if you know javascript well enough I don't think the interop is
that much of a problem. There are some things which can be a bit
unintuitive, but usually there are plenty of answered questions at
StackOverflow and other places, or just ask here!
I would recommend starting out with lein
One cool thing which solves one of the problems (namely get views out of
the data) is DataScript [1]. There are some nice and quite compact examples
[2] which are not that trivial (at least they have two different widgets).
DataScript is encouraging in that it feels doable to get data out of the
Thanks for IDidUpdate! That works, but...
It turns out I cannot easily get the coordinates of the mouse or the
element where the mouse is.
I solved my particular issue by using CSS :hover functionality instead. CSS
seems to get events whenever the layout is changed and can keep track of
the
17 matches
Mail list logo