06/12/2023
This API works, but is not opmitised for React, on every render it will read query query param, deserialise and parse the values. What would be great is to only recompute the value when the query params change.
I believe having a hook we can control when the re-render happen more easily, and we can also manage the references internally.