Ruslan Prakapchuk
Ruslan Prakapchuk
Please define "current".
@maximbaz thank you for the clarification! I can see benefits of Vim-like behaviour (especially if accompanied by panel, because otherwise, it would be not straightforward for user to track internal...
I'm near to complete draft of my version of `items-view` where I trying to answer this question partially. Please, give me some hints on debugging & benchmarking my solution — ...
But when number of elements in map or vector changes, whole block will be rerendered? I like core idea of `freactive` to deliver changes exactly to the point of interest,...
Hmmm... I was sure that I have posted my current `items-view` implementation here 2 weeks ago... But now cannot find it. Anyway, https://gist.github.com/ul/552e1ba67718e3a01a45
I actually like your `items-view` spec, but do not understand why we need observable collection to be exposed to the user? As a developer using `freactive` and its `items-view` plugin...
Sounds very sweet (both observables and registering handlers for element namespaces), can't wait to see implementation! Will think how I can contribute to it.
Om uses ``` clojure (if (exists? js/requestAnimationFrame) (js/requestAnimationFrame #(render-all state)) (js/setTimeout #(render-all state) 16)) ``` so I think it fits most cases. ``` clojure (def request-animation-frame (if (exists? js/window.requestAnimationFrame) js/window.requestAnimationFrame...
`addEventListener` polyfill could be borrowed from Dommy: ``` clojure (if (.-addEventListener elem) (.addEventListener elem (name actual-type) canonical-f) ;; For IE < 9 (.attachEvent elem (name actual-type) canonical-f)))) ``` ``` clojure...
Yes, I will make pull request after we come to agree of preferred solution. What about size increase on using google events — it is to be tested, may be...