Open dante-blitz opened 3 months ago
I am new to qs and am using it as part of react-instantsearch
I have the following code:
const queryString = qsModule.stringify(routeState, { encode: false, format: 'RFC1738', })
which is giving me:
?music[0]=Hip%20Hop
Ideally I want the following
?music[0]=Hip+Hop
I've noticed that if I disable the "encoding: false" option I get:
?music%5B0%5D=Hip+Hop
Is there a way to combine both options to get the desired result...
Thanks in advance.
try setting encodeValuesOnly to true
I am new to qs and am using it as part of react-instantsearch
I have the following code:
which is giving me:
Ideally I want the following
I've noticed that if I disable the "encoding: false" option I get:
Is there a way to combine both options to get the desired result...
Thanks in advance.