(performance item state-seq)
For all the given states, this checks that for the same state, the item renders to the equal item; i.e. rendering has no side effects. If that it true, it also checks that for different states, it renders to different items; i.e. the state is minimal for this item. Note that this test makes most sense for 'dynamic' items. Returns [:bad _], [:good _] or [:ideal nil], with '_' being information about why this conclusion was drawn.
For all the given states, this checks that for the same state, the item renders to the equal item; i.e. rendering has no side effects. If that it true, it also checks that for different states, it renders to different items; i.e. the state is minimal for this item. Note that this test makes most sense for 'dynamic' items. Returns [:bad _], [:good _] or [:ideal nil], with '_' being information about why this conclusion was drawn.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close