import {text} from 'incremental-dom'

export function item(value) {
    if(typeof value == 'function') {
        value()
    } else {
        text(value)
    }
}

import {text} from 'incremental-dom'

export function item(value, key) {
    if(typeof value == 'function') {
        value(key)
    } else {
        text(value)
    }
}

Fix incorrect key propagation to child view
Fix incorrect key propagation to child view
