if i have nested params e.g.
const params = { page: 1, refinementList: { colors: ['white'] } }
and passing to router
Router.pushRoute('product', params, { shallow: true })
then it returns to url
page=1&refinementList=%5Bobject%20Object%5D
But if i stringify params with "qs" library qs.stringify(params) it returns page=1&refinementList%5Bcolors%5D%5B0%5D=White
if i have nested params e.g.
const params = { page: 1, refinementList: { colors: ['white'] } }
and passing to routerRouter.pushRoute('product', params, { shallow: true })
then it returns to urlpage=1&refinementList=%5Bobject%20Object%5D
But if i stringify params with "qs" library
qs.stringify(params)
it returnspage=1&refinementList%5Bcolors%5D%5B0%5D=White