src/reducers/core.js
function transit(state, variable, value) {
    // FIXME: deep copying of the whole state can be eventually slow...
    const newState = cloneDeep(state)
    set(newState, variable, value)
    return newState
}
function transit(state, variable, value) {
    // FIXME: deep copying of the whole state can be eventually slow...
    const newState = cloneDeep(state)
    set(newState, variable, value)
    return newState
}
function transit ( state , variable , value ) { // FIXME: deep copying of the whole state can be eventually slow... const newState = cloneDeep ( state ) set ( newState , variable , value ) return newState }
Returns a copy of the state with a new value of the given variable
Returns a copy of the state with a new value of the given variable