Unify around one query string to object JavaScript util
Summary
Related to #328844 (closed)
Currently we have 3 implementations of a util that converts a query string to an object. They are slightly different but basically do the same thing. We should look into unifying around one util.
util | # of files that use this util |
---|---|
parseQueryStringIntoObject |
1 |
urlParamsToObject |
18 |
queryToObject |
15 |
Improvements
- Reduce technical debit
- Smaller bundle size
Risks
- Since they have slightly different implementations we will have to be carful we aren't overlooking any edge cases
Involved components
Edited by Miguel Rincon