Closed kyhy closed 7 years ago
In the following example, if props.fetchMore is false initially and true later on, componentWillReceiveProps will error out while attempting to reassign newQueries params.
props.fetchMore
false
true
componentWillReceiveProps
newQueries
@load(props => { if (props.fetchMore) { return { model1: model1.getItem(), model2: model2.getItem() } } return { model1: model1.getItem() } })
TY for the heads up ky. Can we chat about this when you're back from town on Monday/Tuesday so we can merge?
@kyhy you need a new release homeslice?
@tonyhb new release would be great!
In the following example, if
props.fetchMore
isfalse
initially andtrue
later on,componentWillReceiveProps
will error out while attempting to reassignnewQueries
params.