@cicada/render
Advanced tools
Comparing version 1.0.0-alpha2 to 1.0.0-alpha3
@@ -278,3 +278,3 @@ 'use strict'; | ||
var nextState = defaultListener.apply(undefined, [_this5.getRenderArg(statePath)].concat(runtimeArgs)); | ||
if (nextState !== state) { | ||
if (nextState !== undefined && nextState !== state) { | ||
_this5.context.stateTree.set(_this5.getResolvedStatePath(), nextState, _constant.REASON_DEFAULT_LISTENER); | ||
@@ -281,0 +281,0 @@ } |
{ | ||
"name": "@cicada/render", | ||
"version": "1.0.0-alpha2", | ||
"version": "1.0.0-alpha3", | ||
"main": "./lib/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
311205