Hi

Interesting work as usual! One quick question: What is the difference between 

    (let [xs (om/observe owner (items))]
      ...)

as seen in the sub-view component versus the one in main-view which doesn't use 
`om/observe`:

    (let [xs (items)]
       ...)


/Jonas


On Saturday, October 18, 2014 6:53:50 PM UTC+3, David Nolen wrote:
> I'm happy to announce the release of Om 0.8.0-alpha1. This release
> 
> includes the single biggest conceptual enhancement since its initial
> 
> release - Reference Cursors.
> 
> 
> 
> As we begin to build larger and larger applications with Om, we
> 
> often run afoul of the need to organize our application around a
> 
> hierarchical tree. This is more problematic than in React itself as Om
> 
> emphasizes a programming model that supports full snapshotting of the
> 
> application state. This seemingly beneficial property actually
> 
> exacerbates the hierachical issue and often leads to an incredible
> 
> amount non-modular programming!
> 
> 
> 
> The introduction of Reference Cursors allow Om programmers to stop
> 
> thinking in terms of trees and return to a more natural mode of UI
> 
> programming - simply calling out into shared APIs around application
> 
> data precisely where you need it. No need to pass data through
> 
> intermediate components on way to the target child component -
> 
> Reference Cursors allow you to get at the data exactly where it is
> 
> required and this without abandoning the ability to time travel over
> 
> your application state.
> 
> 
> 
> There are more thoughts and details here:
> 
> https://github.com/swannodette/om/wiki/Advanced-Tutorial#reference-cursors
> 
> 
> 
> Please give Reference Cursors a try in your application and send lots
> 
> of feedback!
> 
> 
> 
> This is an alpha release. No previous Om APIs should be affected,
> 
> however the Reference Cursor feature is largely untested beyond
> 
> a simple example in the repo.
> 
> 
> 
> https://github.com/swannodette/om
> 
> 
> 
> Cheers,
> 
> David

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to