Guys, I need help. Can I use an array to populate the params in the Router’s componentUrl
Route params can be only the string, but you can convert array to the string, for example like this:
encodeURIComponent(JSON.stringify(array))
And to process the array in component, decode it back to array:
JSON.parse(decodeURIComponent(encodedString))
thank you sir, you are very helpful