previous
Motivation
The method allows to get previous value of given store. Usually need for analytics
Formulae
Arguments
$source
([Store
]) - source storedefaultValue
(optional) - default value for$target
store, if not passed,null
will be used
Returns
$target
([Store
]) - new store that contain previous value of$source
after first update and null or default value (if passed) before that
Example
Push analytics with route transition: