Seitu
Core

Computed

Derives a subscription from one source or many.

createComputed()

Derives a subscription from one source or many. transform is memoized on source references, so get() is stable until a source changes.

Examples

import { ,  } from 'seitu'

const  = ({ : 1, : 2 })
const  = (,  => . + .)
.() // 3
import { ,  } from 'seitu'

const  = (1)
const  = (2)
const  = ([, ], ([, ]) =>  + )
.()

Edit on GitHub

Last updated on

On this page