Swap (componentInfo, params) to (params, componentInfo) on createViewModel