Fork me on GitHub
#om
<
2016-08-09
>
hkjels08:08:39

@tyler: Have a look at compassus

hlolli13:08:02

So I am experimenting with react-infinite, for infinite scroling. Say I want to generate a table and concatinate extra 100 list items on scrolling demand. Would it be good idea to store the dom elements in a local state, or put everything in a for loop in the render? Just thinking about the best way of being lazy but still store what has been rendered. Or maybe it's best to clear previously rendered list items and fetch them again when the user scrolls up?

hlolli15:08:27

Ended up putting all in for loop and concatinating the list items from :remote into my app-state-atom. Its smooth and fast, so I conclude there's some lazyness behind the scenes, I may be wrong.

peeja17:08:10

Do om.next/*parent* and om.next/*depth* do anything? They don't appear to be (re)bound during render.